Struct dae_parser::InstanceRigidBody
source · pub struct InstanceRigidBody {
pub body: NameRef<RigidBody>,
pub target: UrlRef<Node>,
pub common: InstanceRigidBodyCommon,
pub technique: Vec<Technique>,
pub extra: Vec<Extra>,
}
Expand description
Instantiates an object described by a RigidBody
within an Instance
<PhysicsModel
>.
Fields§
§body: NameRef<RigidBody>
Which RigidBody
to instantiate.
target: UrlRef<Node>
Which Node
is influenced by this RigidBody
instance.
Can refer to a local instance or external reference.
common: InstanceRigidBodyCommon
Specifies the rigid-body 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 InstanceRigidBody
impl Clone for InstanceRigidBody
source§fn clone(&self) -> InstanceRigidBody
fn clone(&self) -> InstanceRigidBody
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