pub enum SceneNode {
Transform {
attributes: Dict,
frames: Vec<Frame>,
child: u32,
layer_id: u32,
},
Group {
attributes: Dict,
children: Vec<u32>,
},
Shape {
attributes: Dict,
models: Vec<ShapeModel>,
},
}Expand description
Scene graph nodes for representing a scene in
DotVoxData.
Variants
Transform
Fields
attributes: DictAttributes.
child: u32Child node of this transform node.
layer_id: u32Layer ID
Transform Node Chunk (nTRN)
Group
Group Node Chunk (nGRP)
Shape
Shape Node Chunk (nSHP)
Trait Implementations
impl Eq for SceneNode
impl StructuralEq for SceneNode
impl StructuralPartialEq for SceneNode
Auto Trait Implementations
impl RefUnwindSafe for SceneNode
impl Send for SceneNode
impl Sync for SceneNode
impl Unpin for SceneNode
impl UnwindSafe for SceneNode
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