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 18 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()Parameterized Cylinder. It can also be used to represent a cone when one of radiusTop/radiusBottom is zero.
getName()StringThe segments of the curve.
setName(name: String)Constructs a CircleShape profile with specified radius.
getProperties()PropertyCollectionInitializes a new instance of Cylinder class.
findProperty(name: String)PropertyInitializes a new instance of the Bone class.
getProperty(name: String)ObjectGets the transform matrix of the node in current pose.
setProperty(name: String, value: Object)Gets the width segments.
removeProperty(name: String)booleanGets flip coordinate system of control points/normal during importing/exporting.

See Also

 English