Lens Studio v4.0+
Inherits from ObjectSpecificData
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].
Returns the name of this object’s type.
isOfType(String type) :
Returns true if the object matches or derives from the passed in type.
isSame(ScriptObject other) :
Returns true if this object is the same as
other. Useful for checking if two references point to the same thing.
//@input Component.ObjectTracking handTracking print(handTracking.objectSpecificData.isLeft) print(handTracking.objectSpecificData.isLeftProbability)
Still Looking for help?Visit Support