| MeshNodeMorphWeights Property |
Gets or sets the weights of the morph targets.
Namespace: DigitalRune.Graphics.SceneGraphAssembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax public MorphWeightCollection MorphWeights { get; set; }
Public Property MorphWeights As MorphWeightCollection
Get
Set
public:
property MorphWeightCollection^ MorphWeights {
MorphWeightCollection^ get ();
void set (MorphWeightCollection^ value);
}
member MorphWeights : MorphWeightCollection with get, set
Property Value
Type:
MorphWeightCollection
The weights of the morph targets. The default value depends on whether the mesh includes
morph targets. If the mesh includes morph targets an empty
MorphWeightCollection (all weights are 0) is set by default; otherwise,
.
Remarks
A MorphWeightCollection is required, if the Mesh includes morph
targets; otherwise, rendering may fail.
The MeshNode does not verify whether the MorphWeights is
compatible with the Mesh. The MorphWeights may include other
morph targets than the Mesh. In this case only the morph targets that match
are applied to the mesh during morph target animation.
See Also