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.
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.
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 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.