Struct dae_parser::Morph [−][src]
pub struct Morph {
pub source: UrlRef<Geometry>,
pub method: MorphMethod,
pub sources: Vec<Source>,
pub targets: Targets,
pub extra: Vec<Extra>,
}
Expand description
Describes the data required to blend between sets of static meshes.
Fields
source: UrlRef<Geometry>
Refers to the Geometry
that describes the base mesh.
method: MorphMethod
Which blending technique to use.
sources: Vec<Source>
Data for morph weights and for morph targets.
targets: Targets
Input meshes (morph targets) to be blended.
extra: Vec<Extra>
Provides arbitrary additional information about this element.
Implementations
Construct a new Morph
of from a list of sources and targets.
- The
source
should reference aGeometry
. - There should be at least two
sources
. - One of the
targets
must haveSemantic::MorphTarget
. - One of the
targets
must haveSemantic::MorphWeight
.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Morph
impl UnwindSafe for Morph
Blanket Implementations
Mutably borrows from an owned value. Read more