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. Some file formats like FBX support multiple channels in parallel.

This class provides 8 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 weights.
ChannelWeightdoubleRead/WriteGets or sets the channel weight.
TargetsIList<Shape>ReadGets the targets.
DefaultWeightdoubleReadGets the default weight.
NamestringRead/WriteGets or sets the name.
PropertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
MorphTargetChannel(name: string)
MorphTargetChannel()
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()
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. It can be a dynamic property (Created by CreateDynamicProperty/SetProperty) or native property(Identified by its name)

See Also