Protected
constructorIf true, child objects of this Component's SceneObject will be disabled when the object is not being tracked.
If disabled, the Component will stop enacting its behavior.
The index of the object being tracked.
Readonly
objectGets additional data of the current object being tracked.
Function that gets called when the tracked object is found.
Function that gets called when the tracked object is lost.
Readonly
sceneThe scene object this component is on.
Readonly
uniqueDestroys the component.
Returns the SceneObject the component is attached to.
Returns the Transform this component is attached to.
Returns the name of this object's type.
Returns true if the object matches or derives from the passed in type.
Returns true if this object is the same as other
. Useful for checking if two references point to the same thing.
Returns true if the object is currently being tracked on camera.
Registers a callback to be executed when the passed in descriptor ends for this tracked object. For example, the possible descriptors for hand tracking are: "victory", "open", "index_finger", "horns", "close", "thumb".
Registers a callback to be executed when the passed in descriptor starts for this tracked object. For example, the possible descriptors for hand tracking are: "victory", "open", "index_finger", "horns", "close", "thumb".
Used to track objects in 2D space, such as body parts, pet, hand.
Remarks
Moves the local ScreenTransform to match the detected image.
See
Object Tracking guide. @seeHand Gestures guide.
Example