Description
The CurrentRay
property of the Gizmo
class provides the current ray being used by the gizmo system. This ray is typically used for operations such as hit testing or determining the direction of user interactions within the scene. It is a static property, meaning it is shared across all instances of the Gizmo
class.
Usage
Use the CurrentRay
property to access the current ray in the gizmo system. This can be useful for determining where in the scene the user is interacting, such as when selecting or manipulating objects.
Example usage:
Ray currentRay = Gizmo.CurrentRay;
// Use currentRay for hit testing or other operations
Example
Ray currentRay = Gizmo.CurrentRay;
// Use currentRay for hit testing or other operations