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 moreSource§impl Debug for InstanceRigidBody
impl Debug for InstanceRigidBody
Auto Trait Implementations§
impl Freeze for InstanceRigidBody
impl RefUnwindSafe for InstanceRigidBody
impl Send for InstanceRigidBody
impl Sync for InstanceRigidBody
impl Unpin for InstanceRigidBody
impl UnwindSafe for InstanceRigidBody
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more