UNPKG

@polygonjs/polygonjs

Version:

node-based WebGL 3D engine https://polygonjs.com

23 lines (22 loc) 880 B
import { Quaternion, Color, Vector2, Vector3, Vector4 } from 'three'; import { AddToTimelineOptions } from './vars/AnimBuilderTypes'; export type AnimPropertyTargetValue = number | Vector2 | Vector3 | Color | Vector4 | Quaternion; export declare class TimelineBuilderProperty { private _propertyName; private _targetValue; constructor(); setName(name: string): void; setTargetValue(value: AnimPropertyTargetValue): void; name(): string | undefined; targetValue(): AnimPropertyTargetValue | undefined; private _debug; setDebug(debug: boolean): void; private _printDebug; clone(): TimelineBuilderProperty; addToTimeline(options: AddToTimelineOptions): void; private _populateWithObjects; private _populateVarsForObjectProperty; private _sceneGraphProps; private _populateWithNode; private _populateVarsForParam; }