Vector3 Down { get; set; }

book_4_sparkGenerated
code_blocksInput

Description

The Down property of the Rotation struct provides the downwards direction vector of the current rotation. This is useful for determining the direction that is opposite to the upwards direction, which can be accessed via the Up property.

Usage

To access the downwards direction of a rotation, use the Down property on an instance of the Rotation struct. This property returns a Vector3 representing the downwards direction.

Example

// Example of using the Down property
Rotation rotation = Rotation.From(45, 30, 0);
Vector3 downDirection = rotation.Down;

// downDirection now holds the Vector3 representing the downwards direction of the rotation.