---
Product: Aspose.3D
Platform: java
Page Type: reference
Canonical URL: https://reference.aspose.org/3d/java/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

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `weights` | `List` | Read | Gets the full weight values of target geometries. |
| `channelWeight` | `double` | Read | Gets or sets the deformer weight of this channel. |
| `targets` | `List` | Read | Gets all targets associated with the channel. |
| `DefaultWeight` | `double` | Read | Default weight for morph target. |
| `name` | `String` | Read | Gets the name. |
| `properties` | `PropertyCollection` | Read | Gets the properties. |

## Methods

| Signature | Description |
|-----------|-------------|
| `MorphTargetChannel()` | Initializes a new instance of the MorphTargetChannel class. |
| `MorphTargetChannel(name: String)` | Initializes a new instance of the MorphTargetChannel class. |
| `getWeights()` → `List` | Gets the full weight values of target geometries. |
| `getChannelWeight()` → `double` | Gets or sets the deformer weight of this channel. |
| `setChannelWeight(value: double)` | Gets or sets the deformer weight of this channel. |
| `getTargets()` → `List` | Gets all targets associated with the channel. |
| `getWeight(target: Shape)` → `double` | 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. |
| `get(index: int)` → `double` | Gets 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()` → `String` | The segments of the curve. |
| `setName(name: String)` | Constructs a CircleShape profile with specified radius. |
| `getProperties()` → `PropertyCollection` | Initializes a new instance of Cylinder class. |
| `findProperty(name: String)` → `Property` | Initializes a new instance of the Bone class. |
| `getProperty(name: String)` → `Object` | Gets the transform matrix of the node in current pose. |
| `setProperty(name: String, value: Object)` | Gets the width segments. |
| `removeProperty(name: String)` → `boolean` | Gets flip coordinate system of control points/normal during importing/exporting. |

## See Also

- [Aspose.3D — Enterprise API Reference](https://reference.aspose.com/3d/)