Wearable Only
Protected
constructorReadonly
Wearable Only
normalA normal of the surface at the position where the ray intersects with the environment.
Readonly
Wearable Only
positionA position where ray intersects with the environment.
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
null
if no intersection with environment was detected.Example