struct Ray

robot_2Generated
code_blocksInput

Description

The Ray struct represents a ray in 3D space, defined by an origin and a direction. It is a fundamental component in many graphics and physics calculations, such as raycasting and collision detection.

Members

Instance Members

Member NameSummary
PositionOrigin of the ray.
ForwardDirection of the ray.
ToLocalTransforms the ray to local space using the specified transform.
ToWorldTransforms the ray to world space using the specified transform.
ProjectProjects the ray forward by a specified distance.