The SceneObjectBase
class describes a scene object.
Property | Description |
---|---|
boundingBoxVisible
|
Represents whether or not the bounding box for the object is visible. |
cameraVisibility
|
Represents the |
hidden
|
Specifies whether the scene object and its descendants are hidden. |
identifier
|
Specifies the scene object unique identifier. This value is specified internally in AR Studio. |
materialIdentifier
|
Specifies the unique material identifier assigned to scene object. This value is specified internally in AR Studio. |
name
|
Specifies the scene object name. This is the unique identifier of the object within the list of its siblings (immediate child objects of the same parent object). Note: the object name is specified in AR Studio UI during design time. Note: the object name must only be unique withing the list of direct siblings. There can be more than object with the same name in the scene as soon as they have different parents. See Also: |
outputVisibility
|
Represents the |
parentWorldTransform
|
Specifies a |
transform
|
Represents the object transformation, in object's local coordinate system. |
worldTransform
|
Specifies a |
Method | Description |
---|---|
child
|
Returns a child object by name. An exception is thrown if the object isn't found. See Also: |
find
|
Returns a descendant object by name. An exception is thrown if the object isn't found or if more than one is found. Note: object D is considered to be a descendant of object P if either D is a child of P or if such an object C which is a child of P exists that D is a descendant of C. See Also: |
findAll
|
Returns a promise that is resolved with the all of the scene objects with given name or empty array if none was found.
See Also: |
findByPath
|
Returns a promise that is resolved with the all occurances of scene objects matching the path query or empty array if none was found. Path query format: Examples:
Note: object D is considered to be a descendant of object P if either D is a child of P or if such an object C which is a child of P exists that D is a descendant of C. See Also: |
findFirst
|
Returns a promise that is resolved with the first occurance of scene object
with given name or null if none was found. See Also: |