pub struct RwDff {
pub model_type: DffModelType,
pub version: String,
pub version_number: u32,
pub geometry_list: Option<RwGeometryList>,
pub frame_list: Option<RwFrameList>,
pub atomics: Vec<u32>,
pub dummies: Vec<String>,
pub anim_nodes: Vec<RwAnimNode>,
}
Expand description
Represents the top-level structure of a parsed DFF file.
This struct contains all the deserialized data from a RenderWare Clump, including geometry, frame hierarchy, and metadata.
Fields§
§model_type: DffModelType
The determined type of the model (e.g., Skin, Vehicle).
version: String
The RenderWare version string (e.g., “3.6.0.3”).
version_number: u32
The packed integer representation of the RenderWare version.
geometry_list: Option<RwGeometryList>
A list of geometries contained within the DFF file.
frame_list: Option<RwFrameList>
The frame hierarchy (skeleton) of the model.
atomics: Vec<u32>
Atomic data mapping geometries to frames.
dummies: Vec<String>
A list of dummy object names.
anim_nodes: Vec<RwAnimNode>
Animation node data, typically for skinned models.
Trait Implementations§
impl StructuralPartialEq for RwDff
Auto Trait Implementations§
impl Freeze for RwDff
impl RefUnwindSafe for RwDff
impl Send for RwDff
impl Sync for RwDff
impl Unpin for RwDff
impl UnwindSafe for RwDff
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more