Property Name
|
JavaScript
|
Type
|
Description
|
Model Widget ID
|
model
|
string
|
Path to the model which the item depends on.
|
Component Occurrence
|
idpath
|
string
|
Index structure of the model item.
|
Scale
|
scale
|
string
|
Scale of the model item.
|
X Coordinate
|
x
|
number
|
Location of the model item on the x-axis.
|
Y Coordinate
|
y
|
number
|
Location of the model item on the y-axis.
|
Z Coordinate
|
z
|
number
|
Location of the model item on the z-axis.
|
X Rotation
|
rx
|
number
|
Rotation of the model item about the x-axis.
|
Y Rotation
|
ry
|
number
|
Rotation of the model item about the y-axis.
|
Z Rotation
|
rz
|
number
|
Rotation of the model item about the z-axis.
|
Occluding
|
occlude
|
boolean
|
If set to true, the geometry of a widget is invisible, but at the same time hides any other augmentations behind it in the 3D scene.
Therefore, the background or camera feed appears where the occluded widget should be. This can be used to emphasize some augmentations by hiding surrounding 3D geometry.
|
Always on top
|
decal
|
boolean
|
Changes the rendering of the model so that it is always on top.
If this checkbox is selected, the model is never hidden by other augmentations.
|
Opacity (1 Opaque - 0 Transparent)
|
opacity
|
number
|
A number between 0 and 1 that controls the level of transparency of the object. 0=completely transparent and 1=completely opaque. If set to semi-opaque (for example, opacity is set to <1), this will control whether the model item is drawn as a transparent shell (the default), or is entirely see-through.
|
Color
|
color
|
color
|
Current color of the model item. Supported formats include:
• rgb(255, 0, 0)
• rgba(255, 0, 0, 1)
• #FF0000
|
|
To override all other visibility settings and hide the model item and all items related to it, bind one of the following widget properties to the model item, and select Force Hide on the Select Binding Target window:
This also overrides any visibility as set by the selected sequence.
|
Minimum Steps Required for Use
|
What It Looks Like
|
1. Drag and drop a Model Item widget onto a part on the model.
2. Set the properties you wish to change on that item of the model. For this example, we’ve changed the color of the top of the pump to green.
|