MorphTargetDeformer

MorphTargetDeformer class

MorphTargetDeformer provides per-vertex animation. MorphTargetDeformer organize all targets via MorphTargetChannel, each channel can organize multiple targets. A common use of morph target deformer is to apply facial expression to a character. More details can be found at https://en.wikipedia.org/wiki/Morph_target_animation

public class MorphTargetDeformer : Deformer

Constructors

NameDescription
MorphTargetDeformer()Initializes a new instance of the MorphTargetDeformer class.
MorphTargetDeformer(string)Initializes a new instance of the MorphTargetDeformer class.

Properties

NameDescription
Channels { get; }Gets all channels contained in this deformer
Item { get; set; }
virtual Name { get; set; }Gets or sets the name.
Owner { get; }Gets the geometry which owns this deformer
Properties { get; }Gets the collection of all properties.

Methods

NameDescription
FindProperty(string)Finds the property. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)
GetProperty(string)Get the value of specified property
RemoveProperty(Property)Removes a dynamic property.
RemoveProperty(string)Remove the specified property identified by name
SetProperty(string, object)Sets the value of specified property

See Also