MorphTargetChannel
개요
MorphTargetChannel은 Aspose.3D FOSS에서 Python용 클래스입니다. 상속 대상: A3DObject.
MorphTargetChannel.get_weight(target) 은 특정 모프 타깃에 대한 가중치 값을 반환합니다.
이 클래스는 Python 프로그램의 MorphTargetChannel 객체를 위해 9개의 메서드를 선언합니다. 사용 가능한 메서드에는 __init__, find_property, get_property, get_weight, remove_property, set_property, set_weight가 포함됩니다. 모든 public 멤버는 Aspose.3D FOSS for Python 패키지를 설치한 후 any Python 애플리케이션에서 접근할 수 있습니다. 속성: channel_weight, name, properties, targets, weights.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
weights | 'list[float]' | 읽기 | 가중치를 가져옵니다. |
channel_weight | float | 읽기/쓰기 | 채널 가중치를 가져오거나 설정합니다. |
targets | 'list[Shape]' | 읽기 | 대상을 가져옵니다. |
name | str | 읽기/쓰기 | 이름을 가져오거나 설정합니다. |
properties | PropertyCollection | 읽기 | 속성을 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
__init__(name: str) | Calls init(name) 이 MorphTargetChannel 인스턴스에서. |
get_weight(target: 'Shape') → float | 지정된 모프 타겟에 대한 현재 무게를 반환하며, set_weight(target, weight) 가 이를 업데이트합니다. |
set_weight(target: 'Shape', weight: float) | 가중치 값을 설정합니다. |
get_weight(index: int) → float | 이 MorphTargetChannel 인스턴스에서 get_weight(index)를 호출합니다. |
set_weight(index: int, weight: float) | 가중치 값을 설정합니다. |
find_property(property_name: str) | 이 MorphTargetChannel 인스턴스에서 find_property(property_name)를 호출합니다. |
get_property(property: str) | 이 MorphTargetChannel 인스턴스에서 get_property(property)를 호출합니다. |
set_property(property: str, value) | 속성 값을 설정합니다. |
remove_property(property) | 이 MorphTargetChannel 인스턴스에서 remove_property(property)를 호출합니다. |