Enum opengex::structure::Translation
[−]
[src]
pub enum Translation { X(f32), Y(f32), Z(f32), Xyz(f32, f32, f32), }
The Translation structure holds a translation transformation in one of several possible variants.
There are different variants of this type of tranformation, one for each "kind".
When contained inside a node structure, a Translation structure can be the target of a track stored inside an Animation structure.
Variants
X(f32)
The translation occurs along only the X axis.
Y(f32)
The translation occurs along only the Y axis.
Z(f32)
The translation occurs along only the Z axis.
Xyz(f32, f32, f32)
The translation occurs along all three coordinate axes.