MorphTargetChannel

MorphTargetChannel

Overview

MorphTargetChannel is a class in Aspose.3D FOSS for Java. Inherits from: A3DObject.

A MorphTargetChannel is used by MorphTargetDeformer to organize the target geometries.

This class provides 20 methods for working with MorphTargetChannel objects in Java programs. Available methods include: A3DObject, MorphTargetChannel, findProperty, get, getChannelWeight, getName, getProperties, getProperty, getTargets, getWeight, getWeights, removeProperty, and 5 additional methods. All public members are accessible to any Java application after installing the Aspose.3D FOSS for Java package. Properties: DefaultWeight, channelWeight, name, properties, targets, weights.

Properties

NameTypeAccessDescription
weightsList<Double>ReadGets the full weight values of target geometries.
channelWeightdoubleReadGets or sets the deformer weight of this channel.
targetsList<Shape>ReadGets all targets associated with the channel.
DefaultWeightdoubleReadDefault weight for morph target.
nameStringReadGets the name.
propertiesPropertyCollectionReadGets the properties.

Methods

SignatureDescription
MorphTargetChannel()Initializes a new instance of the MorphTargetChannel class.
MorphTargetChannel(name: String)Initializes a new instance of the MorphTargetChannel class.
getWeights()List<Double>Gets the full weight values of target geometries.
getChannelWeight()doubleGets or sets the deformer weight of this channel.
setChannelWeight(value: double)Gets or sets the deformer weight of this channel.
getTargets()List<Shape>Gets all targets associated with the channel.
getWeight(target: Shape)doubleGets 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.
get(index: int)doubleGets the weight for the specified target index.
set(index: int, value: double)Sets the weight for the specified target index.
A3DObject()Calls A3DObject on this MorphTargetChannel instance.
A3DObject(name: String)Calls A3DObject(name) on this MorphTargetChannel instance.
getName()StringReturns the name.
setName(name: String)Sets the name value.
getProperties()PropertyCollectionReturns the properties.
findProperty(name: String)PropertyCalls findProperty(name) on this MorphTargetChannel instance.
getProperty(name: String)ObjectCalls getProperty(name) on this MorphTargetChannel instance.
setProperty(name: String, value: Object)Sets the property value.
removeProperty(name: String)booleanCalls removeProperty(name) on this MorphTargetChannel instance.
removeProperty(property: Property)booleanCalls removeProperty(property) on this MorphTargetChannel instance.

See Also

 English