KeyframeSequence
개요
KeyframeSequence는 Aspose.3D FOSS에서 TypeScript용 클래스입니다. 상속 대상: A3DObject.
KeyframeSequence.constructor는 새로운 시퀀스를 생성하고 선택적으로 이름을 할당합니다.
이 클래스는 TypeScript 프로그램의 KeyframeSequence 객체를 위해 10개의 메서드를 선언합니다. 사용 가능한 메서드에는 add, constructor, findProperty, getProperty, removeProperty, reset, setBindPoint, setProperty, toString이 포함됩니다. 공개 멤버는 Aspose.3D FOSS for TypeScript 패키지를 설치한 후 모든 TypeScript 애플리케이션에서 접근할 수 있습니다. 속성: bindPoint, keyFrames, name, postBehavior, preBehavior, properties.
속성
| 이름 | 유형 | 액세스 | 설명 |
|---|---|---|---|
name | string | 읽기/쓰기 | 이름을 가져옵니다. |
properties | PropertyCollection | 읽기 | 속성을 가져옵니다. |
bindPoint | `BindPoint | null` | 읽기 |
keyFrames | KeyFrame[] | 읽기 | 키 프레임을 가져옵니다. |
postBehavior | Extrapolation | 읽기 | post behavior를 가져옵니다. |
preBehavior | Extrapolation | 읽기 | pre behavior를 가져옵니다. |
메서드
| 시그니처 | 설명 |
|---|---|
| `constructor(name: string | null)` |
reset() | 모든 키프레임을 삭제하고 기본 동작 설정을 복원합니다 |
add(time: number, value: number, interpolation: Interpolation) | 주어진 시간에 값과 보간 모드로 키프레임을 삽입합니다 |
setBindPoint(value: BindPoint) | 바인드 포인트 값을 설정합니다. |
constructor(name: string) | 이 KeyframeSequence 인스턴스에서 constructor(name)를 호출합니다. |
findProperty(propertyName: string) → `Property | null` |
getProperty(property: string) → any | 이 KeyframeSequence 인스턴스에서 getProperty(property)를 호출합니다. |
setProperty(property: string, value: any) | 속성 값을 설정합니다. |
| `removeProperty(property: string | Property)→boolean` |
toString() → string | 이 KeyframeSequence 인스턴스에서 toString을 호출합니다. |