Click or drag to resize
DigitalRuneMeshNodeMorphWeights Property
Gets or sets the weights of the morph targets.

Namespace: DigitalRune.Graphics.SceneGraph
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public MorphWeightCollection MorphWeights { 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