BodyTrackingAsset
ClassConfigures 3D Body Tracking for the ObjectTracking3D component.
- Available on all platforms
Since Lens Scripting v142
Index
Extends
Properties
handTrackingEnabled
handTrackingEnabled:
boolean
When true, hand tracking will be enabled.
Since
Lens Scripting Version 182
Default Value
false
name
name:
string
The name of the Asset in Lens Studio.
Default Value
""
Inherited from
trackingScope
trackingScope:
PersonTrackingScope
The tracking context this effect is being applied to.
Since
Lens Scripting Version 142
Default Value
null
uniqueIdentifier
readonlyuniqueIdentifier:string
Since
Lens Scripting Version 176
Inherited from
Object3DAsset.uniqueIdentifier
Methods
getTypeName()
staticgetTypeName():TypeName<BodyTrackingAsset>
Returns the fully-qualified JavaScript type name for this class (for example, "Component.Camera"). This is a static accessor (no instance required) and returns the same value as the instance getTypeName().
Returns
TypeName<BodyTrackingAsset>
Since
Lens Scripting Version 142
Overrides
getTypeName()
getTypeName():
string
Returns the name of this object's type.
Returns
string
Inherited from
isOfType()
isOfType(
type):boolean
Returns true if the object matches or derives from the passed in type.
Parameters
| Parameter | Type |
|---|---|
type | string |
Returns
boolean
Inherited from
isSame()
isSame(
other):boolean
Returns true if this object is the same as other. Useful for checking if two references point to the same thing.
Parameters
| Parameter | Type |
|---|---|
other | ScriptObject |
Returns
boolean
Inherited from
See also
3D Body and Hand Tracking guide.
Nested types
Variables
| Variable | Description |
|---|---|
| Head | Key for Head attachment point. |
| Hips | Key for Hips attachment point. |
| LeftArm | Key for Left Arm attachment point. |
| LeftFoot | Key for Left Foot attachment point. |
| LeftForeArm | Key for Left Forearm attachment point. |
| LeftHand | Key for Left Hand attachment point. |
| LeftHandIndex1 | Key for Left Hand Index 1 attachment point. |
| LeftHandIndex2 | Key for Left Hand Index 2 attachment point. |
| LeftHandIndex3 | Key for Left Hand Index 3 attachment point. |
| LeftHandMiddle1 | Key for Left Hand Middle 1 attachment point. |
| LeftHandMiddle2 | Key for Left Hand Middle 2 attachment point. |
| LeftHandMiddle3 | Key for Left Hand Middle 3 attachment point. |
| LeftHandPinky1 | Key for Left Hand Pinky 1 attachment point. |
| LeftHandPinky2 | Key for Left Hand Pinky 2 attachment point. |
| LeftHandPinky3 | Key for Left Hand Pinky 3 attachment point. |
| LeftHandRing1 | Key for Left Hand Ring 1 attachment point. |
| LeftHandRing2 | Key for Left Hand Ring 2 attachment point. |
| LeftHandRing3 | Key for Left Hand Ring 3 attachment point. |
| LeftHandThumb1 | Key for Left Hand Thumb 1 attachment point. |
| LeftHandThumb2 | Key for Left Hand Thumb 2 attachment point. |
| LeftHandThumb3 | Key for Left Hand Thumb 3 attachment point. |
| LeftLeg | Key for Left Leg attachment point. |
| LeftShoulder | Key for Left Shoulder attachment point. |
| LeftToeBase | Key for Left Toe Base attachment point. |
| LeftUpLeg | Key for Upper Left Leg attachment point. |
| Neck | Key for Neck attachment point. |
| RightArm | Key for Right Arm attachment point. |
| RightFoot | Key for Right Foot attachment point. |
| RightForeArm | Key for Right Forearm attachment point. |
| RightHand | Key for Right Hand attachment point. |
| RightHandIndex1 | Key for Right Hand Index 1 attachment point. |
| RightHandIndex2 | Key for Right Hand Index 2 attachment point. |
| RightHandIndex3 | Key for Right Hand Index 3 attachment point. |
| RightHandMiddle1 | Key for Right Hand Middle 1 attachment point. |
| RightHandMiddle2 | Key for Right Hand Middle 2 attachment point. |
| RightHandMiddle3 | Key for Right Hand Middle 3 attachment point. |
| RightHandPinky1 | Key for Right Hand Pinky 1 attachment point. |
| RightHandPinky2 | Key for Right Hand Pinky 2 attachment point. |
| RightHandPinky3 | Key for Right Hand Pinky 3 attachment point. |
| RightHandRing1 | Key for Right Hand Ring 1 attachment point. |
| RightHandRing2 | Key for Right Hand Ring 2 attachment point. |
| RightHandRing3 | Key for Right Hand Ring 3 attachment point. |
| RightHandThumb1 | Key for Right Hand Thumb 1 attachment point. |
| RightHandThumb2 | Key for Right Hand Thumb 2 attachment point. |
| RightHandThumb3 | Key for Right Hand Thumb 3 attachment point. |
| RightLeg | Key for Right Leg attachment point. |
| RightShoulder | Key for Right Shoulder attachment point. |
| RightToeBase | Key for Right Toe Base attachment point. |
| RightUpLeg | Key for Upper Right Leg attachment point. |
| Spine | Key for Spine attachment point. |
| Spine1 | Key for Spine1 attachment point. |
| Spine2 | Key for Spine2 attachment point. |