MorphTargetChannel
개요
MorphTargetChannel은(는) Aspose.3D FOSS에서 Java용 클래스입니다. 상속 대상: A3DObject.
MorphTargetChannel은(는) MorphTargetDeformer에 의해 대상 기하학을 조직하는 데 사용됩니다.
이 클래스는 Java 프로그램에서 MorphTargetChannel 객체를 작업하기 위한 20개의 메서드를 제공합니다. 사용 가능한 메서드에는 A3DObject, MorphTargetChannel, findProperty, get, getChannelWeight, getName, getProperties, getProperty, getTargets, getWeight, getWeights, removeProperty 및 추가 메서드 5개가 포함됩니다. 모든 공개 멤버는 Aspose.3D FOSS for Java 패키지를 설치한 후 모든 Java 애플리케이션에서 사용할 수 있습니다. 속성: DefaultWeight, channelWeight, name, properties, targets, weights.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
weights | List<Double> | 읽기 | 대상 기하학의 전체 가중치 값을 가져옵니다. |
channelWeight | double | 읽기 | 이 채널의 디포머 가중치를 가져오거나 설정합니다. |
targets | List<Shape> | 읽기 | 채널과 연결된 모든 타깃을 가져옵니다. |
DefaultWeight | double | 읽기 | 모프 타겟의 기본 가중치. |
name | String | 읽기 | 이름을 가져옵니다. |
properties | PropertyCollection | 읽기 | 속성을 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
MorphTargetChannel() | 새로운 MorphTargetChannel 클래스의 인스턴스를 초기화합니다. |
MorphTargetChannel(name: String) | 새로운 MorphTargetChannel 클래스의 인스턴스를 초기화합니다. |
getWeights() → List<Double> | 대상 지오메트리의 전체 가중치 값을 가져옵니다. |
getChannelWeight() → double | 이 채널의 디포머 가중치를 가져오거나 설정합니다. |
setChannelWeight(value: double) | 이 채널의 디포머 가중치를 가져오거나 설정합니다. |
getTargets() → List<Shape> | 채널과 연결된 모든 타겟을 가져옵니다. |
getWeight(target: Shape) → double | 지정된 대상에 대한 가중치를 가져옵니다. 대상이 이 채널에 속하지 않는 경우 기본값 0이 반환됩니다. |
setWeight(target: Shape, weight: double) | 지정된 대상의 가중치를 설정합니다. 기본값은 1이며, 범위는 0~1 사이여야 합니다. |
get(index: int) → double | 지정된 대상 인덱스에 대한 가중치를 가져옵니다. |
set(index: int, value: double) | 지정된 타깃 인덱스에 대한 가중치를 설정합니다. |
A3DObject() | 이 MorphTargetChannel 인스턴스에서 A3DObject를 호출합니다. |
A3DObject(name: String) | 이 MorphTargetChannel 인스턴스에서 A3DObject(name)를 호출합니다. |
getName() → String | 이름을 반환합니다. |
setName(name: String) | 이름 값을 설정합니다. |
getProperties() → PropertyCollection | 속성을 반환합니다. |
findProperty(name: String) → Property | 이 MorphTargetChannel 인스턴스에서 findProperty(name)를 호출합니다. |
getProperty(name: String) → Object | 이 MorphTargetChannel 인스턴스에서 getProperty(name)를 호출합니다. |
setProperty(name: String, value: Object) | 속성 값을 설정합니다. |
removeProperty(name: String) → boolean | 이 MorphTargetChannel 인스턴스에서 removeProperty(name)를 호출합니다. |
removeProperty(property: Property) → boolean | 이 MorphTargetChannel 인스턴스에서 removeProperty(property)를 호출합니다. |