HandSpecificData
ClassProvides additional data for the tracked hand.
- Available on all platforms
Provides additional data for the tracked hand. You can figure out whether the tracked hand is the left hand by accessing the isLeft property [true/false], as well as the probability of this data through the isLeftProbability property [0-1].
Index
Methods
Example
//@input Component.ObjectTracking handTracking
print(handTracking.objectSpecificData.isLeft)
print(handTracking.objectSpecificData.isLeftProbability)
Extends
Indexable
[
index:string]:any
Methods
getTypeName()
staticgetTypeName():TypeName<HandSpecificData>
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<HandSpecificData>
Overrides
ObjectSpecificData.getTypeName
getTypeName()
getTypeName():
string
Returns the name of this object's type.
Returns
string
Inherited from
ObjectSpecificData.getTypeName
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