Struct ssbh_data::skel_data::SkelData [−][src]
Expand description
The data associated with a Skel file. The supported version is 1.0.
Fields
major_version: u16
minor_version: u16
bones: Vec<BoneData>
Implementations
Tries to read and convert the SKEL from path
.
The entire file is buffered for performance.
Tries to read and convert the SKEL from reader
.
For best performance when opening from a file, use from_file
instead.
Converts the data to SKEL and writes to the given writer
.
For best performance when writing to a file, use write_to_file
instead.
Calculates the world transform for bone
by accumulating the transform with the parents transform recursively.
Returns the resulting matrix in row-major order.
let world_transform = data.calculate_world_transform(&data.bones[0]);
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SkelData
impl UnwindSafe for SkelData