BindPoint

Przegląd

BindPoint jest klasą w Aspose.3D FOSS dla TypeScript. Dziedziczy po: A3DObject.

BindPoint.constructor inicjalizuje BindPoint z opcjonalną Scene i Property.

Ta klasa deklaruje 13 metod dla obiektów BindPoint w programach TypeScript. Dostępne metody obejmują: addChannel, bindKeyframeSequence, constructor, createKeyframeSequence, findProperty, getChannel, getKeyframeSequence, getProperty, removeProperty, resetChannels, setProperty, toString. Publiczne członki są dostępne dla każdej aplikacji TypeScript po zainstalowaniu pakietu Aspose.3D FOSS dla TypeScript. Właściwości: channelsCount, name, properties, property, scene.

Właściwości

NazwaTypDostępOpis
namestringOdczyt/zapisPobiera nazwę.
propertiesPropertyCollectionOdczytPobiera właściwości.
propertyPropertyOdczytPobiera właściwość.
channelsCountnumberOdczytPobiera liczbę kanałów.
scene`Scenenull`Odczyt

Metody

SygnaturaOpis
`constructor(scene: Scenenull, prop: Property)`
addChannel(name: string, value: any, _type: any) → booleanDodaje kanał z nazwą, wartością i typem, zwracając true w przypadku sukcesu
getKeyframeSequence(channelName: string) → `KeyframeSequencenull`
createKeyframeSequence(name: string) → KeyframeSequenceTworzy nowy KeyframeSequence o podanej nazwie
bindKeyframeSequence(channelName: string, sequence: KeyframeSequence)Powiązuje KeyframeSequence z określoną nazwą kanału
getChannel(channelName: string) → `AnimationChannelnull`
resetChannels()Usuwa wszystkie kanały animacji z punktu wiązania
constructor(name: string)Wywołuje konstruktor(name) na tej instancji BindPoint.
findProperty(propertyName: string) → `Propertynull`
getProperty(property: string) → anyWywołuje getProperty(property) na tej instancji BindPoint.
setProperty(property: string, value: any)Ustawia wartość właściwości.
`removeProperty(property: stringProperty)→boolean`
toString() → stringWywołuje toString na tej instancji BindPoint.

Zobacz także

 Polski