Struct dae_parser::RigidConstraint
source · pub struct RigidConstraint {
pub sid: Option<String>,
pub name: Option<String>,
pub ref_attachment: Attachment,
pub attachment: Attachment,
pub common: RigidConstraintCommon,
pub technique: Vec<Technique>,
pub extra: Vec<Extra>,
}
Expand description
Connects components, such as RigidBody
, into complex physics models with moveable parts.
Fields§
§sid: Option<String>
A text string containing the scoped identifier of the RigidConstraint
element. This value must be unique within the scope of the parent element.
name: Option<String>
The text string name of this element.
ref_attachment: Attachment
§attachment: Attachment
§common: RigidConstraintCommon
Specifies rigid-constraint 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§
source§impl Clone for RigidConstraint
impl Clone for RigidConstraint
source§fn clone(&self) -> RigidConstraint
fn clone(&self) -> RigidConstraint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more