Struct dot_vox::DotVoxData
source · [−]pub struct DotVoxData {
pub version: u32,
pub models: Vec<Model>,
pub palette: Vec<Color>,
pub materials: Vec<Material>,
pub scenes: Vec<SceneNode>,
pub layers: Vec<Layer>,
}Expand description
Container for .vox file data.
Fields
version: u32The version number of the .vox file.
models: Vec<Model>A Vec of all the models contained within this file.
palette: Vec<Color>A Vec containing the colour palette as 32-bit integers
materials: Vec<Material>A Vec containing all the Materials set.
scenes: Vec<SceneNode>Scene. The first node in this list is always the root node.
layers: Vec<Layer>Layers. Used by scene transform nodes.
Implementations
Trait Implementations
sourceimpl Debug for DotVoxData
impl Debug for DotVoxData
sourceimpl PartialEq<DotVoxData> for DotVoxData
impl PartialEq<DotVoxData> for DotVoxData
sourcefn eq(&self, other: &DotVoxData) -> bool
fn eq(&self, other: &DotVoxData) -> bool
impl Eq for DotVoxData
impl StructuralEq for DotVoxData
impl StructuralPartialEq for DotVoxData
Auto Trait Implementations
impl RefUnwindSafe for DotVoxData
impl Send for DotVoxData
impl Sync for DotVoxData
impl Unpin for DotVoxData
impl UnwindSafe for DotVoxData
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