Skip to main content

Module transform

Module transform 

Source
Expand description

Local and global transforms for typed 2D and 3D entities.

Structsยง

GlobalTransform2D
Computed 2D transform including every scene ancestor.
GlobalTransform3D
Computed 3D transform including every scene ancestor.
Parent
Optional scene parent. Prefer crate::scene::Scene::set_parent to validate edits.
Transform2D
A 2D local transform. Positive Y points down; rotation is in radians.
Transform3D
A 3D local transform. Positive Y points up, using right-handed coordinates.