Struct dae_parser::PhysicsMaterial [−][src]
pub struct PhysicsMaterial {
pub id: Option<String>,
pub name: Option<String>,
pub asset: Option<Box<Asset>>,
pub common: PhysicsMaterialCommon,
pub technique: Vec<Technique>,
pub extra: Vec<Extra>,
}
Expand description
Defines the physical properties of an object.
It contains a technique/profile with parameters.
The COMMON
profile defines the built-in names, such as static_friction
.
Fields
id: Option<String>
A text string containing the unique identifier of the element.
name: Option<String>
The text string name of this element.
asset: Option<Box<Asset>>
Asset management information about this element.
common: PhysicsMaterialCommon
Specifies physics-material information for the common profile that all COLLADA implementations must support.
technique: Vec<Technique>
Declares the information used to process some portion of the content. (optional)
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations
Trait Implementations
Returns the “default value” for a type. Read more
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
.
Auto Trait Implementations
impl RefUnwindSafe for PhysicsMaterial
impl Send for PhysicsMaterial
impl Sync for PhysicsMaterial
impl Unpin for PhysicsMaterial
impl UnwindSafe for PhysicsMaterial
Blanket Implementations
Mutably borrows from an owned value. Read more