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