BindPoint
概要
BindPoint は Aspose.3D の FOSS における TypeScript 用のクラスです。継承元: A3DObject。
BindPoint.constructor はオプションの Scene と Property を持つ BindPoint を初期化します。
このクラスは TypeScript プログラム内の BindPoint オブジェクト向けに 13 のメソッドを宣言します。利用可能なメソッドは: addChannel, bindKeyframeSequence, constructor, createKeyframeSequence, findProperty, getChannel, getKeyframeSequence, getProperty, removeProperty, resetChannels, setProperty, toString。パブリックメンバーは、Aspose.3D の FOSS for TypeScript パッケージをインストールした後、任意の TypeScript アプリケーションからアクセス可能です。プロパティ: channelsCount, name, properties, property, scene。
プロパティ
| 名前 | 型 | アクセス | 説明 |
|---|---|---|---|
name | string | 読み取り/書き込み | 名前を取得します。 |
properties | PropertyCollection | 読み取り | プロパティを取得します。 |
property | Property | 読み取り | プロパティを取得します。 |
channelsCount | number | 読み取り | チャンネル数を取得します。 |
scene | `Scene | null` | 読み取り |
メソッド
| シグネチャ | 説明 |
|---|---|
| `constructor(scene: Scene | null, prop: Property)` |
addChannel(name: string, value: any, _type: any) → boolean | 名前、値、タイプを持つチャンネルを追加し、成功した場合は true を返します |
getKeyframeSequence(channelName: string) → `KeyframeSequence | null` |
createKeyframeSequence(name: string) → KeyframeSequence | 指定された名前で新しい KeyframeSequence を作成します |
bindKeyframeSequence(channelName: string, sequence: KeyframeSequence) | 指定されたチャンネル名と KeyframeSequence を関連付けます |
getChannel(channelName: string) → `AnimationChannel | null` |
resetChannels() | バインドポイントからすべてのアニメーションチャンネルを削除します |
constructor(name: string) | この BindPoint インスタンスで constructor(name) を呼び出します. |
findProperty(propertyName: string) → `Property | null` |
getProperty(property: string) → any | この BindPoint インスタンスで getProperty(property) を呼び出します。 |
setProperty(property: string, value: any) | プロパティの値を設定します。 |
| `removeProperty(property: string | Property)→boolean` |
toString() → string | この BindPoint インスタンスで toString を呼び出す。 |