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
sourceimpl Clone for InstanceRigidBody
impl Clone for InstanceRigidBody
sourcefn clone(&self) -> InstanceRigidBody
fn clone(&self) -> InstanceRigidBody
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for InstanceRigidBody
impl Debug for InstanceRigidBody
sourceimpl Deref for InstanceRigidBody
impl Deref for InstanceRigidBody
type Target = InstanceRigidBodyCommon
type Target = InstanceRigidBodyCommon
The resulting type after dereferencing.
Auto Trait Implementations
impl RefUnwindSafe for InstanceRigidBody
impl Send for InstanceRigidBody
impl Sync for InstanceRigidBody
impl Unpin for InstanceRigidBody
impl UnwindSafe for InstanceRigidBody
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