@awayjs/graphics
Version:
AwayJS graphics classes
27 lines • 1.23 kB
TypeScript
import { Vector3D } from '@awayjs/core';
import { ShaderBase, _Render_RenderableBase, AnimationRegisterData } from '@awayjs/renderer';
import { AnimationElements } from '../data/AnimationElements';
import { ParticleRotateToPositionNode } from '../nodes/ParticleRotateToPositionNode';
import { ParticleAnimator } from '../ParticleAnimator';
import { ParticleStateBase } from './ParticleStateBase';
/**
* ...
*/
export declare class ParticleRotateToPositionState extends ParticleStateBase {
/** @private */
static MATRIX_INDEX: number;
/** @private */
static POSITION_INDEX: number;
private _particleRotateToPositionNode;
private _position;
private _matrix;
private _offset;
/**
* Defines the position of the point the particle will rotate to face when in global mode. Defaults to 0,0,0.
*/
get position(): Vector3D;
set position(value: Vector3D);
constructor(animator: ParticleAnimator, particleRotateToPositionNode: ParticleRotateToPositionNode);
setRenderState(shader: ShaderBase, renderable: _Render_RenderableBase, animationElements: AnimationElements, animationRegisterData: AnimationRegisterData): void;
}
//# sourceMappingURL=ParticleRotateToPositionState.d.ts.map