pub struct M2RawData {Show 21 fields
pub transparency: Vec<u8>,
pub texture_animations: Vec<u8>,
pub color_animations: Vec<u8>,
pub render_flags: Vec<u8>,
pub bone_lookup_table: Vec<u16>,
pub texture_lookup_table: Vec<u16>,
pub texture_units: Vec<u16>,
pub transparency_lookup_table: Vec<u16>,
pub texture_animation_lookup: Vec<u16>,
pub bounding_triangles: Vec<u8>,
pub bounding_vertices: Vec<u8>,
pub bounding_normals: Vec<u8>,
pub attachments: Vec<u8>,
pub attachment_lookup_table: Vec<u16>,
pub events: Vec<u8>,
pub lights: Vec<u8>,
pub cameras: Vec<u8>,
pub camera_lookup_table: Vec<u16>,
pub ribbon_emitters: Vec<u8>,
pub particle_emitters: Vec<u8>,
pub texture_combiner_combos: Option<Vec<u8>>,
}Expand description
Raw data for sections that are not fully parsed
Fields§
§transparency: Vec<u8>Transparency data
texture_animations: Vec<u8>Texture animations
color_animations: Vec<u8>Color animations
render_flags: Vec<u8>Render flags
bone_lookup_table: Vec<u16>Bone lookup table
texture_lookup_table: Vec<u16>Texture lookup table
texture_units: Vec<u16>Texture units
transparency_lookup_table: Vec<u16>Transparency lookup table
texture_animation_lookup: Vec<u16>Texture animation lookup
bounding_triangles: Vec<u8>Bounding triangles
bounding_vertices: Vec<u8>Bounding vertices
bounding_normals: Vec<u8>Bounding normals
attachments: Vec<u8>Attachments
attachment_lookup_table: Vec<u16>Attachment lookup table
events: Vec<u8>Events
lights: Vec<u8>Lights
cameras: Vec<u8>Cameras
camera_lookup_table: Vec<u16>Camera lookup table
ribbon_emitters: Vec<u8>Ribbon emitters
particle_emitters: Vec<u8>Particle emitters
texture_combiner_combos: Option<Vec<u8>>Texture combiner combos (added in Cataclysm)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for M2RawData
impl RefUnwindSafe for M2RawData
impl Send for M2RawData
impl Sync for M2RawData
impl Unpin for M2RawData
impl UnwindSafe for M2RawData
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().