Struct dae_parser::Node [−][src]
pub struct Node {Show 14 fields
pub id: Option<String>,
pub name: Option<String>,
pub sid: Option<String>,
pub ty: NodeType,
pub layer: Vec<String>,
pub asset: Option<Box<Asset>>,
pub transforms: Vec<Transform>,
pub instance_camera: Vec<Instance<Camera>>,
pub instance_controller: Vec<Instance<Controller>>,
pub instance_geometry: Vec<Instance<Geometry>>,
pub instance_light: Vec<Instance<Light>>,
pub instance_node: Vec<Instance<Node>>,
pub children: Vec<Node>,
pub extra: Vec<Extra>,
}Expand description
Fields
id: Option<String>A text string containing the unique identifier of the element.
name: Option<String>The text string name of this element.
sid: Option<String>A text string value containing the subidentifier of this element. This value must be unique within the scope of the parent element.
ty: NodeTypeThe type of the Node element.
layer: Vec<String>The layers to which this node belongs.
asset: Option<Box<Asset>>Asset management information about this element.
transforms: Vec<Transform>Any combination of geometric transforms.
instance_camera: Vec<Instance<Camera>>Allows the node to instantiate a camera object.
instance_controller: Vec<Instance<Controller>>Allows the node to instantiate a controller object.
instance_geometry: Vec<Instance<Geometry>>Allows the node to instantiate a geometry object.
instance_light: Vec<Instance<Light>>Allows the node to instantiate a light object.
instance_node: Vec<Instance<Node>>Allows the node to instantiate a hierarchy of other nodes.
children: Vec<Node>Allows the node to recursively define hierarchy.
extra: Vec<Extra>Provides arbitrary additional information about this element.
Implementations
Trait Implementations
Extract the relevant LocalMap field from a LocalMaps.
fn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
fn get_local_map_mut<'a, 'b>(
maps: &'b mut LocalMaps<'a>
) -> &'b mut Option<LocalMap<'a, Self>>
Extract the relevant LocalMap field from a LocalMaps.
Extract the library from a single LibraryElement.
Auto Trait Implementations
impl RefUnwindSafe for Node
impl UnwindSafe for Node
Blanket Implementations
Mutably borrows from an owned value. Read more