pub struct Node<Space> {
pub visible: bool,
pub name: Option<String>,
pub transform: Transform,
pub material: Option<Material>,
/* private fields */
}
Expand description
General information about an object in a scene.
Fields
visible: bool
Is Node
visible by cameras or not?
name: Option<String>
The name of the node, if any.
transform: Transform
Transformation in Space
.
material: Option<Material>
Material in case this Node
has it.
Trait Implementations
sourceimpl<Space: PartialEq> PartialEq<Node<Space>> for Node<Space>
impl<Space: PartialEq> PartialEq<Node<Space>> for Node<Space>
impl<Space> StructuralPartialEq for Node<Space>
Auto Trait Implementations
impl<Space> !RefUnwindSafe for Node<Space>
impl<Space> Send for Node<Space>where
Space: Send,
impl<Space> Sync for Node<Space>where
Space: Sync,
impl<Space> Unpin for Node<Space>where
Space: Unpin,
impl<Space> !UnwindSafe for Node<Space>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.