api.assets.Vector#

class datagen.api.assets.Vector(*, x: ConstrainedFloatValue, y: ConstrainedFloatValue, z: ConstrainedFloatValue)#

A direction in 3D space. This can define, e.g., the direction of eye gaze.

x: float#

The component of the vector along the left-right axis. Lower values angle the vector to the right, while higher values angle the vector to the left (from the point of view of the default position of a human asset: at the origin, with the neck facing in the -y direction).

Min: -5.0

Max: 5.0

y: float#

The component of the vector along the back-to-front axis. Lower values angle the vector to the front, while higher values angle the vector to the back (from the point of view of the default position of a human asset: at the origin, with the neck facing in the -y direction).

Min: -5.0

Max: 5.0

z: float#

The component of the vector along the up-down axis. Lower values angle the vector downward, while higher values angle the vector upward.

Min: -5.0

Max: 5.0