pub struct SceneNode3D { /* private fields */ }Expand description
Hierarchical scene node storing local quaternion TRS, cached world matrices, collection bits, and component links.
Implementations§
Source§impl SceneNode3D
Construction and local matrix helpers for SceneNode3D.
impl SceneNode3D
Construction and local matrix helpers for SceneNode3D.
Source§impl SceneNode3D
Implements impl #impl_generics #name #ty_generics #where_clause.
impl SceneNode3D
Implements impl #impl_generics #name #ty_generics #where_clause.
pub fn get_name(&self) -> &String
pub fn get_mut_name(&mut self) -> &mut String
pub fn set_name(&mut self, val: String) -> &mut Self
pub fn get_parent(&self) -> Option<u32>
pub fn try_get_parent(&self) -> Option<u32>
pub fn get_mut_parent(&mut self) -> &mut Option<u32>
pub fn set_parent(&mut self, val: Option<u32>) -> &mut Self
pub fn get_depth(&self) -> u16
pub fn get_mut_depth(&mut self) -> &mut u16
pub fn set_depth(&mut self, val: u16) -> &mut Self
pub fn get_local_translation(&self) -> Vec3
pub fn get_mut_local_translation(&mut self) -> &mut Vec3
pub fn set_local_translation(&mut self, val: Vec3) -> &mut Self
pub fn get_local_rotation(&self) -> Quat
pub fn get_mut_local_rotation(&mut self) -> &mut Quat
pub fn set_local_rotation(&mut self, val: Quat) -> &mut Self
pub fn get_local_scale(&self) -> Vec3
pub fn get_mut_local_scale(&mut self) -> &mut Vec3
pub fn set_local_scale(&mut self, val: Vec3) -> &mut Self
pub fn get_world_matrix(&self) -> Mat4
pub fn get_mut_world_matrix(&mut self) -> &mut Mat4
pub fn set_world_matrix(&mut self, val: Mat4) -> &mut Self
pub fn get_prev_world_matrix(&self) -> Mat4
pub fn get_mut_prev_world_matrix(&mut self) -> &mut Mat4
pub fn set_prev_world_matrix(&mut self, val: Mat4) -> &mut Self
pub fn get_collection_mask(&self) -> u64
pub fn get_mut_collection_mask(&mut self) -> &mut u64
pub fn set_collection_mask(&mut self, val: u64) -> &mut Self
pub fn get_visible(&self) -> bool
pub fn get_mut_visible(&mut self) -> &mut bool
pub fn set_visible(&mut self, val: bool) -> &mut Self
pub fn get_mesh_id(&self) -> Option<u32>
pub fn try_get_mesh_id(&self) -> Option<u32>
pub fn get_mut_mesh_id(&mut self) -> &mut Option<u32>
pub fn set_mesh_id(&mut self, val: Option<u32>) -> &mut Self
pub fn get_skin_id(&self) -> Option<u32>
pub fn try_get_skin_id(&self) -> Option<u32>
pub fn get_mut_skin_id(&mut self) -> &mut Option<u32>
pub fn set_skin_id(&mut self, val: Option<u32>) -> &mut Self
pub fn get_camera_id(&self) -> Option<u32>
pub fn try_get_camera_id(&self) -> Option<u32>
pub fn get_mut_camera_id(&mut self) -> &mut Option<u32>
pub fn set_camera_id(&mut self, val: Option<u32>) -> &mut Self
pub fn get_light_id(&self) -> Option<u32>
pub fn try_get_light_id(&self) -> Option<u32>
pub fn get_mut_light_id(&mut self) -> &mut Option<u32>
pub fn set_light_id(&mut self, val: Option<u32>) -> &mut Self
pub fn get_morph_weight_offset(&self) -> u32
pub fn get_mut_morph_weight_offset(&mut self) -> &mut u32
pub fn set_morph_weight_offset(&mut self, val: u32) -> &mut Self
pub fn get_morph_weight_count(&self) -> u16
pub fn get_mut_morph_weight_count(&mut self) -> &mut u16
pub fn set_morph_weight_count(&mut self, val: u16) -> &mut Self
pub fn get_extras(&self) -> &BlenderExtrasTags3D
pub fn get_mut_extras(&mut self) -> &mut BlenderExtrasTags3D
pub fn set_extras(&mut self, val: BlenderExtrasTags3D) -> &mut Self
Trait Implementations§
Source§impl Clone for SceneNode3D
impl Clone for SceneNode3D
Source§impl Debug for SceneNode3D
impl Debug for SceneNode3D
Source§impl PartialEq for SceneNode3D
impl PartialEq for SceneNode3D
impl StructuralPartialEq for SceneNode3D
Auto Trait Implementations§
impl Forget for SceneNode3D
impl Freeze for SceneNode3D
impl Move for SceneNode3D
impl RefUnwindSafe for SceneNode3D
impl Send for SceneNode3Dwhere
RawVecInner: Send,
impl Sync for SceneNode3Dwhere
RawVecInner: Sync,
impl Unpin for SceneNode3D
impl UnsafeUnpin for SceneNode3D
impl UnwindSafe for SceneNode3Dwhere
RawVecInner: UnwindSafe,
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