UNPKG

@polygonjs/polygonjs

Version:

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

27 lines (26 loc) 878 B
export declare enum AnimationPositionMode { RELATIVE = "relative", ABSOLUTE = "absolute" } export declare const ANIMATION_POSITION_MODES: AnimationPositionMode[]; export declare enum AnimationPositionRelativeTo { START = "start", END = "end" } export declare const ANIMATION_POSITION_RELATIVE_TOS: AnimationPositionRelativeTo[]; export declare class AnimationPosition { private _mode; private _relativeTo; private _offset; clone(): AnimationPosition; setMode(mode: AnimationPositionMode): void; mode(): AnimationPositionMode; setRelativeTo(relative_to: AnimationPositionRelativeTo): void; relativeTo(): AnimationPositionRelativeTo; setOffset(offset: number): void; offset(): number; toParameter(): string | number; private _relative_position_param; private _absolutePositionParam; private _offsetString; }