MorphTargetChannel

MorphTargetChannel

Overview

MorphTargetChannel is a class in Aspose.3D FOSS for .NET. Inherits from: A3DObject, INamedObject.

A MorphTargetChannel is used by to organize the target geometries.

This class provides 9 methods for working with MorphTargetChannel objects in .NET programs. Available methods include: A3DObject, FindProperty, GetProperty, GetWeight, MorphTargetChannel, RemoveProperty, SetProperty, SetWeight. All public members are accessible to any .NET application after installing the Aspose.3D FOSS for .NET package. Properties: ChannelWeight, DefaultWeight, Name, Properties, Targets, Weights.

Properties

NameTypeAccessDescription
WeightsIList<double>ReadGets the full weight values of target geometries.
ChannelWeightdoubleRead/WriteGets or sets the deformer weight of this channel.
TargetsIList<Shape>ReadGets all targets associated with the channel.
DefaultWeightdoubleReadDefault weight for morph target.
NamestringRead/WriteGets or sets the name.
PropertiesPropertyCollectionReadGets the collection of all properties.

Methods

SignatureDescription
MorphTargetChannel(name: string)Initializes a new instance of the class.
MorphTargetChannel()Initializes a new instance of the class.
GetWeight(target: Shape)Gets the weight for the specified target, if the target is not belongs to this channel, default value 0 is returned.
SetWeight(target: Shape, weight: double)Sets the weight for the specified target, default value is 1, range should between 0~1
A3DObject()Initializes a new instance of the A3DObject class with no name.
RemoveProperty(property: Property)Removes a dynamic property.
GetProperty(property: string)Get the value of specified property
SetProperty(property: string, value: object?)Sets the value of specified property
FindProperty(propertyName: string)Finds the property.

See Also

 English