Expand description
Local and global transforms for typed 2D and 3D entities.
Structsยง
- Global
Transform2D - Computed 2D transform including every scene ancestor.
- Global
Transform3D - Computed 3D transform including every scene ancestor.
- Parent
- Optional scene parent. Prefer
crate::scene::Scene::set_parentto 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.