pub struct Model { /* private fields */ }Implementations§
Source§impl Model
impl Model
pub fn model_name(&self) -> String
pub fn set_model_name(&mut self, value: &str)
Sourcepub fn global_flags(&self) -> Ref<'_, GlobalFlags>
pub fn global_flags(&self) -> Ref<'_, GlobalFlags>
Borrows the field in place — no copy, no allocation.
pub fn global_flags_mut(&mut self) -> RefMut<'_, GlobalFlags>
pub fn global_loops_len(&self) -> usize
Sourcepub fn global_loops(&self, index: usize) -> Option<Ref<'_, GlobalSequence>>
pub fn global_loops(&self, index: usize) -> Option<Ref<'_, GlobalSequence>>
Borrows element index in place. None when out of range.
pub fn global_loops_mut( &mut self, index: usize, ) -> Option<RefMut<'_, GlobalSequence>>
Sourcepub fn global_loops_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, GlobalSequence>>
pub fn global_loops_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, GlobalSequence>>
Iterate the elements, borrowing each in turn.
pub fn resize_global_loops(&mut self, count: usize)
pub fn sequences_len(&self) -> usize
Sourcepub fn sequences(&self, index: usize) -> Option<Ref<'_, Sequence>>
pub fn sequences(&self, index: usize) -> Option<Ref<'_, Sequence>>
Borrows element index in place. None when out of range.
pub fn sequences_mut(&mut self, index: usize) -> Option<RefMut<'_, Sequence>>
Sourcepub fn sequences_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Sequence>>
pub fn sequences_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Sequence>>
Iterate the elements, borrowing each in turn.
pub fn resize_sequences(&mut self, count: usize)
Sourcepub fn sequence_idx_hash_by_id(&self) -> &[u16]
pub fn sequence_idx_hash_by_id(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn sequence_idx_hash_by_id_mut(&mut self) -> &mut [u16]
pub fn sequence_idx_hash_by_id_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_sequence_idx_hash_by_id(&mut self, values: &[u16])
pub fn resize_sequence_idx_hash_by_id(&mut self, count: usize)
pub fn bones_len(&self) -> usize
Sourcepub fn bones(&self, index: usize) -> Option<Ref<'_, Bone>>
pub fn bones(&self, index: usize) -> Option<Ref<'_, Bone>>
Borrows element index in place. None when out of range.
pub fn bones_mut(&mut self, index: usize) -> Option<RefMut<'_, Bone>>
Sourcepub fn bones_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Bone>>
pub fn bones_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Bone>>
Iterate the elements, borrowing each in turn.
pub fn resize_bones(&mut self, count: usize)
Sourcepub fn key_bone_ids(&self) -> &[u16]
pub fn key_bone_ids(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn key_bone_ids_mut(&mut self) -> &mut [u16]
pub fn key_bone_ids_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_key_bone_ids(&mut self, values: &[u16])
pub fn resize_key_bone_ids(&mut self, count: usize)
pub fn vertices_len(&self) -> usize
Sourcepub fn vertices(&self, index: usize) -> Option<Ref<'_, Vertex>>
pub fn vertices(&self, index: usize) -> Option<Ref<'_, Vertex>>
Borrows element index in place. None when out of range.
pub fn vertices_mut(&mut self, index: usize) -> Option<RefMut<'_, Vertex>>
Sourcepub fn vertices_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Vertex>>
pub fn vertices_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Vertex>>
Iterate the elements, borrowing each in turn.
pub fn resize_vertices(&mut self, count: usize)
pub fn skin_profiles_len(&self) -> usize
Sourcepub fn skin_profiles(&self, index: usize) -> Option<Ref<'_, SkinProfile>>
pub fn skin_profiles(&self, index: usize) -> Option<Ref<'_, SkinProfile>>
Borrows element index in place. None when out of range.
pub fn skin_profiles_mut( &mut self, index: usize, ) -> Option<RefMut<'_, SkinProfile>>
Sourcepub fn skin_profiles_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, SkinProfile>>
pub fn skin_profiles_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, SkinProfile>>
Iterate the elements, borrowing each in turn.
pub fn resize_skin_profiles(&mut self, count: usize)
pub fn lod_profiles_len(&self) -> usize
Sourcepub fn lod_profiles(&self, index: usize) -> Option<Ref<'_, SkinProfile>>
pub fn lod_profiles(&self, index: usize) -> Option<Ref<'_, SkinProfile>>
Borrows element index in place. None when out of range.
pub fn lod_profiles_mut( &mut self, index: usize, ) -> Option<RefMut<'_, SkinProfile>>
Sourcepub fn lod_profiles_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, SkinProfile>>
pub fn lod_profiles_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, SkinProfile>>
Iterate the elements, borrowing each in turn.
pub fn resize_lod_profiles(&mut self, count: usize)
pub fn num_skin_profiles(&self) -> u32
pub fn set_num_skin_profiles(&mut self, value: u32)
pub fn colors_len(&self) -> usize
Sourcepub fn colors(&self, index: usize) -> Option<Ref<'_, ColorAnimation>>
pub fn colors(&self, index: usize) -> Option<Ref<'_, ColorAnimation>>
Borrows element index in place. None when out of range.
pub fn colors_mut(&mut self, index: usize) -> Option<RefMut<'_, ColorAnimation>>
Sourcepub fn colors_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, ColorAnimation>>
pub fn colors_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, ColorAnimation>>
Iterate the elements, borrowing each in turn.
pub fn resize_colors(&mut self, count: usize)
pub fn textures_len(&self) -> usize
Sourcepub fn textures(&self, index: usize) -> Option<Ref<'_, Texture>>
pub fn textures(&self, index: usize) -> Option<Ref<'_, Texture>>
Borrows element index in place. None when out of range.
pub fn textures_mut(&mut self, index: usize) -> Option<RefMut<'_, Texture>>
Sourcepub fn textures_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Texture>>
pub fn textures_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Texture>>
Iterate the elements, borrowing each in turn.
pub fn resize_textures(&mut self, count: usize)
pub fn texture_weights_len(&self) -> usize
Sourcepub fn texture_weights(&self, index: usize) -> Option<Ref<'_, TextureWeight>>
pub fn texture_weights(&self, index: usize) -> Option<Ref<'_, TextureWeight>>
Borrows element index in place. None when out of range.
pub fn texture_weights_mut( &mut self, index: usize, ) -> Option<RefMut<'_, TextureWeight>>
Sourcepub fn texture_weights_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, TextureWeight>>
pub fn texture_weights_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, TextureWeight>>
Iterate the elements, borrowing each in turn.
pub fn resize_texture_weights(&mut self, count: usize)
pub fn texture_transforms_len(&self) -> usize
Sourcepub fn texture_transforms(
&self,
index: usize,
) -> Option<Ref<'_, TextureTransform>>
pub fn texture_transforms( &self, index: usize, ) -> Option<Ref<'_, TextureTransform>>
Borrows element index in place. None when out of range.
pub fn texture_transforms_mut( &mut self, index: usize, ) -> Option<RefMut<'_, TextureTransform>>
Sourcepub fn texture_transforms_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, TextureTransform>>
pub fn texture_transforms_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, TextureTransform>>
Iterate the elements, borrowing each in turn.
pub fn resize_texture_transforms(&mut self, count: usize)
Sourcepub fn texture_indices_by_id(&self) -> &[u16]
pub fn texture_indices_by_id(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn texture_indices_by_id_mut(&mut self) -> &mut [u16]
pub fn texture_indices_by_id_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_texture_indices_by_id(&mut self, values: &[u16])
pub fn resize_texture_indices_by_id(&mut self, count: usize)
pub fn materials_len(&self) -> usize
Sourcepub fn materials(&self, index: usize) -> Option<Ref<'_, Material>>
pub fn materials(&self, index: usize) -> Option<Ref<'_, Material>>
Borrows element index in place. None when out of range.
pub fn materials_mut(&mut self, index: usize) -> Option<RefMut<'_, Material>>
Sourcepub fn materials_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Material>>
pub fn materials_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Material>>
Iterate the elements, borrowing each in turn.
pub fn resize_materials(&mut self, count: usize)
Sourcepub fn bone_combos(&self) -> &[u16]
pub fn bone_combos(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn bone_combos_mut(&mut self) -> &mut [u16]
pub fn bone_combos_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_bone_combos(&mut self, values: &[u16])
pub fn resize_bone_combos(&mut self, count: usize)
Sourcepub fn texture_combos(&self) -> &[u16]
pub fn texture_combos(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn texture_combos_mut(&mut self) -> &mut [u16]
pub fn texture_combos_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_texture_combos(&mut self, values: &[u16])
pub fn resize_texture_combos(&mut self, count: usize)
Sourcepub fn texture_coord_combos(&self) -> &[u16]
pub fn texture_coord_combos(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn texture_coord_combos_mut(&mut self) -> &mut [u16]
pub fn texture_coord_combos_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_texture_coord_combos(&mut self, values: &[u16])
pub fn resize_texture_coord_combos(&mut self, count: usize)
Sourcepub fn texture_weight_combos(&self) -> &[u16]
pub fn texture_weight_combos(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn texture_weight_combos_mut(&mut self) -> &mut [u16]
pub fn texture_weight_combos_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_texture_weight_combos(&mut self, values: &[u16])
pub fn resize_texture_weight_combos(&mut self, count: usize)
Sourcepub fn texture_transform_combos(&self) -> &[u16]
pub fn texture_transform_combos(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn texture_transform_combos_mut(&mut self) -> &mut [u16]
pub fn texture_transform_combos_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_texture_transform_combos(&mut self, values: &[u16])
pub fn resize_texture_transform_combos(&mut self, count: usize)
pub fn bounding_mut(&mut self) -> RefMut<'_, Extent>
Sourcepub fn collision(&self) -> Ref<'_, Extent>
pub fn collision(&self) -> Ref<'_, Extent>
Borrows the field in place — no copy, no allocation.
pub fn collision_mut(&mut self) -> RefMut<'_, Extent>
Sourcepub fn collision_triangle_indices(&self) -> &[u16]
pub fn collision_triangle_indices(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn collision_triangle_indices_mut(&mut self) -> &mut [u16]
pub fn collision_triangle_indices_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_collision_triangle_indices(&mut self, values: &[u16])
pub fn resize_collision_triangle_indices(&mut self, count: usize)
Sourcepub fn collision_vertices(&self) -> &[Vector3f]
pub fn collision_vertices(&self) -> &[Vector3f]
Zero-copy view of the underlying std::vector.
Sourcepub fn collision_vertices_mut(&mut self) -> &mut [Vector3f]
pub fn collision_vertices_mut(&mut self) -> &mut [Vector3f]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_collision_vertices(&mut self, values: &[Vector3f])
pub fn resize_collision_vertices(&mut self, count: usize)
Sourcepub fn collision_face_normals(&self) -> &[Vector3f]
pub fn collision_face_normals(&self) -> &[Vector3f]
Zero-copy view of the underlying std::vector.
Sourcepub fn collision_face_normals_mut(&mut self) -> &mut [Vector3f]
pub fn collision_face_normals_mut(&mut self) -> &mut [Vector3f]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_collision_face_normals(&mut self, values: &[Vector3f])
pub fn resize_collision_face_normals(&mut self, count: usize)
pub fn attachments_len(&self) -> usize
Sourcepub fn attachments(&self, index: usize) -> Option<Ref<'_, Attachment>>
pub fn attachments(&self, index: usize) -> Option<Ref<'_, Attachment>>
Borrows element index in place. None when out of range.
pub fn attachments_mut( &mut self, index: usize, ) -> Option<RefMut<'_, Attachment>>
Sourcepub fn attachments_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, Attachment>>
pub fn attachments_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, Attachment>>
Iterate the elements, borrowing each in turn.
pub fn resize_attachments(&mut self, count: usize)
Sourcepub fn attachment_indices_by_id(&self) -> &[u16]
pub fn attachment_indices_by_id(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn attachment_indices_by_id_mut(&mut self) -> &mut [u16]
pub fn attachment_indices_by_id_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_attachment_indices_by_id(&mut self, values: &[u16])
pub fn resize_attachment_indices_by_id(&mut self, count: usize)
pub fn events_len(&self) -> usize
Sourcepub fn events(&self, index: usize) -> Option<Ref<'_, Event>>
pub fn events(&self, index: usize) -> Option<Ref<'_, Event>>
Borrows element index in place. None when out of range.
pub fn events_mut(&mut self, index: usize) -> Option<RefMut<'_, Event>>
Sourcepub fn events_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Event>>
pub fn events_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Event>>
Iterate the elements, borrowing each in turn.
pub fn resize_events(&mut self, count: usize)
pub fn lights_len(&self) -> usize
Sourcepub fn lights(&self, index: usize) -> Option<Ref<'_, Light>>
pub fn lights(&self, index: usize) -> Option<Ref<'_, Light>>
Borrows element index in place. None when out of range.
pub fn lights_mut(&mut self, index: usize) -> Option<RefMut<'_, Light>>
Sourcepub fn lights_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Light>>
pub fn lights_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Light>>
Iterate the elements, borrowing each in turn.
pub fn resize_lights(&mut self, count: usize)
pub fn cameras_len(&self) -> usize
Sourcepub fn cameras(&self, index: usize) -> Option<Ref<'_, Camera>>
pub fn cameras(&self, index: usize) -> Option<Ref<'_, Camera>>
Borrows element index in place. None when out of range.
pub fn cameras_mut(&mut self, index: usize) -> Option<RefMut<'_, Camera>>
Sourcepub fn cameras_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Camera>>
pub fn cameras_iter(&self) -> impl ExactSizeIterator<Item = Ref<'_, Camera>>
Iterate the elements, borrowing each in turn.
pub fn resize_cameras(&mut self, count: usize)
Sourcepub fn camera_indices_by_id(&self) -> &[u16]
pub fn camera_indices_by_id(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn camera_indices_by_id_mut(&mut self) -> &mut [u16]
pub fn camera_indices_by_id_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_camera_indices_by_id(&mut self, values: &[u16])
pub fn resize_camera_indices_by_id(&mut self, count: usize)
pub fn ribbon_emitters_len(&self) -> usize
Sourcepub fn ribbon_emitters(&self, index: usize) -> Option<Ref<'_, RibbonEmitter>>
pub fn ribbon_emitters(&self, index: usize) -> Option<Ref<'_, RibbonEmitter>>
Borrows element index in place. None when out of range.
pub fn ribbon_emitters_mut( &mut self, index: usize, ) -> Option<RefMut<'_, RibbonEmitter>>
Sourcepub fn ribbon_emitters_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, RibbonEmitter>>
pub fn ribbon_emitters_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, RibbonEmitter>>
Iterate the elements, borrowing each in turn.
pub fn resize_ribbon_emitters(&mut self, count: usize)
pub fn particle_emitters_len(&self) -> usize
Sourcepub fn particle_emitters(
&self,
index: usize,
) -> Option<Ref<'_, ParticleEmitter>>
pub fn particle_emitters( &self, index: usize, ) -> Option<Ref<'_, ParticleEmitter>>
Borrows element index in place. None when out of range.
pub fn particle_emitters_mut( &mut self, index: usize, ) -> Option<RefMut<'_, ParticleEmitter>>
Sourcepub fn particle_emitters_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, ParticleEmitter>>
pub fn particle_emitters_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, ParticleEmitter>>
Iterate the elements, borrowing each in turn.
pub fn resize_particle_emitters(&mut self, count: usize)
Sourcepub fn texture_combiner_combos(&self) -> &[u16]
pub fn texture_combiner_combos(&self) -> &[u16]
Zero-copy view of the underlying std::vector.
Sourcepub fn texture_combiner_combos_mut(&mut self) -> &mut [u16]
pub fn texture_combiner_combos_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_texture_combiner_combos(&mut self, values: &[u16])
pub fn resize_texture_combiner_combos(&mut self, count: usize)
Sourcepub fn texture_ids(&self) -> &[u32]
pub fn texture_ids(&self) -> &[u32]
TXID
Zero-copy view of the underlying std::vector.
Sourcepub fn texture_ids_mut(&mut self) -> &mut [u32]
pub fn texture_ids_mut(&mut self) -> &mut [u32]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_texture_ids(&mut self, values: &[u32])
pub fn resize_texture_ids(&mut self, count: usize)
Sourcepub fn parent_sequence_replacements(&self) -> &[u16]
pub fn parent_sequence_replacements(&self) -> &[u16]
PABC
Zero-copy view of the underlying std::vector.
Sourcepub fn parent_sequence_replacements_mut(&mut self) -> &mut [u16]
pub fn parent_sequence_replacements_mut(&mut self) -> &mut [u16]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_parent_sequence_replacements(&mut self, values: &[u16])
pub fn resize_parent_sequence_replacements(&mut self, count: usize)
Sourcepub fn parent_texture_weights_len(&self) -> usize
pub fn parent_texture_weights_len(&self) -> usize
PADC
Sourcepub fn parent_texture_weights(
&self,
index: usize,
) -> Option<Ref<'_, TextureWeight>>
pub fn parent_texture_weights( &self, index: usize, ) -> Option<Ref<'_, TextureWeight>>
Borrows element index in place. None when out of range.
pub fn parent_texture_weights_mut( &mut self, index: usize, ) -> Option<RefMut<'_, TextureWeight>>
Sourcepub fn parent_texture_weights_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, TextureWeight>>
pub fn parent_texture_weights_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, TextureWeight>>
Iterate the elements, borrowing each in turn.
pub fn resize_parent_texture_weights(&mut self, count: usize)
Sourcepub fn parent_sequence_bounds_len(&self) -> usize
pub fn parent_sequence_bounds_len(&self) -> usize
PSBC
Sourcepub fn parent_sequence_bounds(&self, index: usize) -> Option<Ref<'_, Extent>>
pub fn parent_sequence_bounds(&self, index: usize) -> Option<Ref<'_, Extent>>
Borrows element index in place. None when out of range.
pub fn parent_sequence_bounds_mut( &mut self, index: usize, ) -> Option<RefMut<'_, Extent>>
Sourcepub fn parent_sequence_bounds_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, Extent>>
pub fn parent_sequence_bounds_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, Extent>>
Iterate the elements, borrowing each in turn.
pub fn resize_parent_sequence_bounds(&mut self, count: usize)
Sourcepub fn parent_event_data_len(&self) -> usize
pub fn parent_event_data_len(&self) -> usize
PEDC
Sourcepub fn parent_event_data(
&self,
index: usize,
) -> Option<Ref<'_, AnimationTrackBase>>
pub fn parent_event_data( &self, index: usize, ) -> Option<Ref<'_, AnimationTrackBase>>
Borrows element index in place. None when out of range.
pub fn parent_event_data_mut( &mut self, index: usize, ) -> Option<RefMut<'_, AnimationTrackBase>>
Sourcepub fn parent_event_data_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, AnimationTrackBase>>
pub fn parent_event_data_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, AnimationTrackBase>>
Iterate the elements, borrowing each in turn.
pub fn resize_parent_event_data(&mut self, count: usize)
Sourcepub fn recursive_particle_model_ids(&self) -> &[u32]
pub fn recursive_particle_model_ids(&self) -> &[u32]
RPID
Zero-copy view of the underlying std::vector.
Sourcepub fn recursive_particle_model_ids_mut(&mut self) -> &mut [u32]
pub fn recursive_particle_model_ids_mut(&mut self) -> &mut [u32]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_recursive_particle_model_ids(&mut self, values: &[u32])
pub fn resize_recursive_particle_model_ids(&mut self, count: usize)
Sourcepub fn geometry_particle_model_ids(&self) -> &[u32]
pub fn geometry_particle_model_ids(&self) -> &[u32]
GPID
Zero-copy view of the underlying std::vector.
Sourcepub fn geometry_particle_model_ids_mut(&mut self) -> &mut [u32]
pub fn geometry_particle_model_ids_mut(&mut self) -> &mut [u32]
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_geometry_particle_model_ids(&mut self, values: &[u32])
pub fn resize_geometry_particle_model_ids(&mut self, count: usize)
Sourcepub fn particle_geosets_len(&self) -> usize
pub fn particle_geosets_len(&self) -> usize
PGD1
Sourcepub fn particle_geosets(
&self,
index: usize,
) -> Option<Ref<'_, ParticleGeosetData>>
pub fn particle_geosets( &self, index: usize, ) -> Option<Ref<'_, ParticleGeosetData>>
Borrows element index in place. None when out of range.
pub fn particle_geosets_mut( &mut self, index: usize, ) -> Option<RefMut<'_, ParticleGeosetData>>
Sourcepub fn particle_geosets_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, ParticleGeosetData>>
pub fn particle_geosets_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, ParticleGeosetData>>
Iterate the elements, borrowing each in turn.
pub fn resize_particle_geosets(&mut self, count: usize)
Sourcepub fn physics_file_data(&self) -> &[u8] ⓘ
pub fn physics_file_data(&self) -> &[u8] ⓘ
PFDC
Zero-copy view of the underlying std::vector.
Sourcepub fn physics_file_data_mut(&mut self) -> &mut [u8] ⓘ
pub fn physics_file_data_mut(&mut self) -> &mut [u8] ⓘ
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_physics_file_data(&mut self, values: &[u8])
pub fn resize_physics_file_data(&mut self, count: usize)
Sourcepub fn edge_fade_entries_len(&self) -> usize
pub fn edge_fade_entries_len(&self) -> usize
EDGF
Sourcepub fn edge_fade_entries(&self, index: usize) -> Option<Ref<'_, EdgeFadeData>>
pub fn edge_fade_entries(&self, index: usize) -> Option<Ref<'_, EdgeFadeData>>
Borrows element index in place. None when out of range.
pub fn edge_fade_entries_mut( &mut self, index: usize, ) -> Option<RefMut<'_, EdgeFadeData>>
Sourcepub fn edge_fade_entries_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, EdgeFadeData>>
pub fn edge_fade_entries_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, EdgeFadeData>>
Iterate the elements, borrowing each in turn.
pub fn resize_edge_fade_entries(&mut self, count: usize)
Sourcepub fn nerf_entries_len(&self) -> usize
pub fn nerf_entries_len(&self) -> usize
NERF
Sourcepub fn nerf_entries(&self, index: usize) -> Option<Ref<'_, DistanceFadeData>>
pub fn nerf_entries(&self, index: usize) -> Option<Ref<'_, DistanceFadeData>>
Borrows element index in place. None when out of range.
pub fn nerf_entries_mut( &mut self, index: usize, ) -> Option<RefMut<'_, DistanceFadeData>>
Sourcepub fn nerf_entries_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, DistanceFadeData>>
pub fn nerf_entries_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, DistanceFadeData>>
Iterate the elements, borrowing each in turn.
pub fn resize_nerf_entries(&mut self, count: usize)
Sourcepub fn detailed_light_entries_len(&self) -> usize
pub fn detailed_light_entries_len(&self) -> usize
DETL
Sourcepub fn detailed_light_entries(
&self,
index: usize,
) -> Option<Ref<'_, DetailedLightData>>
pub fn detailed_light_entries( &self, index: usize, ) -> Option<Ref<'_, DetailedLightData>>
Borrows element index in place. None when out of range.
pub fn detailed_light_entries_mut( &mut self, index: usize, ) -> Option<RefMut<'_, DetailedLightData>>
Sourcepub fn detailed_light_entries_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, DetailedLightData>>
pub fn detailed_light_entries_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, DetailedLightData>>
Iterate the elements, borrowing each in turn.
pub fn resize_detailed_light_entries(&mut self, count: usize)
Sourcepub fn debug_occlusion_entries_len(&self) -> usize
pub fn debug_occlusion_entries_len(&self) -> usize
DBOC
Sourcepub fn debug_occlusion_entries(
&self,
index: usize,
) -> Option<Ref<'_, DebugOcclusionData>>
pub fn debug_occlusion_entries( &self, index: usize, ) -> Option<Ref<'_, DebugOcclusionData>>
Borrows element index in place. None when out of range.
pub fn debug_occlusion_entries_mut( &mut self, index: usize, ) -> Option<RefMut<'_, DebugOcclusionData>>
Sourcepub fn debug_occlusion_entries_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, DebugOcclusionData>>
pub fn debug_occlusion_entries_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, DebugOcclusionData>>
Iterate the elements, borrowing each in turn.
pub fn resize_debug_occlusion_entries(&mut self, count: usize)
Sourcepub fn anim_frame_data(&self) -> &[u8] ⓘ
pub fn anim_frame_data(&self) -> &[u8] ⓘ
AFRA
Zero-copy view of the underlying std::vector.
Sourcepub fn anim_frame_data_mut(&mut self) -> &mut [u8] ⓘ
pub fn anim_frame_data_mut(&mut self) -> &mut [u8] ⓘ
Zero-copy mutable view. Resize first — the borrow forbids it after.
pub fn set_anim_frame_data(&mut self, values: &[u8])
pub fn resize_anim_frame_data(&mut self, count: usize)
Sourcepub fn textured_light_entries_len(&self) -> usize
pub fn textured_light_entries_len(&self) -> usize
TEXL
Sourcepub fn textured_light_entries(
&self,
index: usize,
) -> Option<Ref<'_, TexturedLightData>>
pub fn textured_light_entries( &self, index: usize, ) -> Option<Ref<'_, TexturedLightData>>
Borrows element index in place. None when out of range.
pub fn textured_light_entries_mut( &mut self, index: usize, ) -> Option<RefMut<'_, TexturedLightData>>
Sourcepub fn textured_light_entries_iter(
&self,
) -> impl ExactSizeIterator<Item = Ref<'_, TexturedLightData>>
pub fn textured_light_entries_iter( &self, ) -> impl ExactSizeIterator<Item = Ref<'_, TexturedLightData>>
Iterate the elements, borrowing each in turn.