api.assets.Rotation#

class datagen.api.assets.Rotation(*, yaw: float, roll: float, pitch: float)#

A set of rotation instructions. These are used in multiple places, such as datagen.api.assets.ExtrinsicParams.rotation and datagen.api.assets.Head.rotation.

pitch: float#

Rotates the object around the x axis.

roll: float#

Rotates the object around the y axis.

yaw: float#

Rotates the object around the z axis.