Post

Replies

Boosts

Views

Activity

How to store/hold some data in ModelEntity/Entity?
I have a requirement to hold some data in ModelEntity/Entity and show as a info when user tap on ModelEntity/Entity, Currently I'm doing this by assigning on name property because I've not found any property to store/hold data and it's not a perfect way to do and at some point it's falling because 3d model has it's own name and it replacing my stored/hold data by 3d model name, then user getting wrong info. then which is a perfect way to hold/store data in ModelEntity/Entity?
1
0
846
May ’23
How to show TextureImage in .usdz model image frame in ARView?
I'm using below code to show image in .usdz model image frame      var imageMaterial = UnlitMaterial()     imageMaterial.color = .init(tint: .white, texture: .init(texture))     modelEntity.model?.materials = [imageMaterial]           anchorEntity.addChild(modelEntity) The issue is that image is showing on frame border as well but we need to show in image inside frame not on frame border frame.usdz file frame after adding image
2
0
1k
Nov ’22