@awayjs/graphics
Version:
AwayJS graphics classes
28 lines • 1.16 kB
TypeScript
import { Vector3D } from '@awayjs/core';
import { ShaderBase, _Render_RenderableBase, AnimationRegisterData } from '@awayjs/renderer';
import { AnimationElements } from '../data/AnimationElements';
import { ParticleVelocityNode } from '../nodes/ParticleVelocityNode';
import { ParticleAnimator } from '../ParticleAnimator';
import { ParticleStateBase } from './ParticleStateBase';
/**
* ...
*/
export declare class ParticleVelocityState extends ParticleStateBase {
/** @private */
static VELOCITY_INDEX: number;
private _particleVelocityNode;
private _velocity;
/**
* Defines the default velocity vector of the state, used when in global mode.
*/
get velocity(): Vector3D;
set velocity(value: Vector3D);
/**
*
*/
getVelocities(): Array<Vector3D>;
setVelocities(value: Array<Vector3D>): void;
constructor(animator: ParticleAnimator, particleVelocityNode: ParticleVelocityNode);
setRenderState(shader: ShaderBase, renderable: _Render_RenderableBase, animationElements: AnimationElements, animationRegisterData: AnimationRegisterData): void;
}
//# sourceMappingURL=ParticleVelocityState.d.ts.map