ReadonlydirectionRay direction, unit length, in world space.
ReadonlyisWhether the interactor was tracked when this ray was sampled.
ReadonlyoriginRay origin, in centimeters.
StaticgetReturns 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 latest targeting ray for an interactor. See SpecsInteractionModule.Interactor#getTargetingRay.
originis in centimeters anddirectionis unit length in world space.This is a shared, reused instance. Valid for the current frame only, re-fetch each frame. Copy any value you need to keep beyond the current frame.
Since
Lens Scripting Version 375
Snap OS
Example