Wearable OnlyReadonly Wearable OnlyclassificationThe classification of the surface at the position where the ray intersects with the environment.
Readonly Wearable OnlynormalA normal of the surface at the position where the ray intersects with the environment.
Readonly Wearable OnlypositionA position where ray intersects with the environment.
StaticgetWearable OnlyReturns 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 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.
The result of the hitTest method call. This includes the world position of the hit, the world normal of the hit. Returns
nullif no intersection with environment was detected.Example