Struct dae_parser::Attachment
source · pub struct Attachment {
pub rigid_body: Url,
pub transform: Vec<RigidTransform>,
pub extra: Vec<Extra>,
}
Expand description
Defines an attachment frame, to a rigid body or a node, within a rigid constraint.
Fields§
§rigid_body: Url
A URI reference to a RigidBody
or Node
. This must refer to a
RigidBody
in attachment
or in ref_attachment
; they cannot both be Node
s.
transform: Vec<RigidTransform>
Changes the position of the attachment point.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations§
Trait Implementations§
source§impl Clone for Attachment
impl Clone for Attachment
source§fn clone(&self) -> Attachment
fn clone(&self) -> Attachment
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