import { Vector3D } from '@awayjs/core'; import { ShaderRegisterCache } from '@awayjs/stage'; import { ShaderBase, AnimationRegisterData } from '@awayjs/renderer'; import { ParticleProperties } from '../data/ParticleProperties'; import { ParticleRotationalVelocityState } from '../states/ParticleRotationalVelocityState'; import { ParticleAnimationSet } from '../ParticleAnimationSet'; import { AnimatorBase } from '../AnimatorBase'; import { ParticleNodeBase } from './ParticleNodeBase'; /** * A particle animation node used to set the starting rotational velocity of a particle. */ export declare class ParticleRotationalVelocityNode extends ParticleNodeBase { /** @private */ _iRotationalVelocity: Vector3D; /** * Reference for rotational velocity node properties on a single particle (when in local property mode). * Expects a Vector3D object representing the rotational velocity around an axis of the particle. */ static ROTATIONALVELOCITY_VECTOR3D: string; /** * Creates a new ParticleRotationalVelocityNode * * @param mode Defines whether the mode of operation acts on local properties of a particle or global properties of the node. */ constructor(mode: number, rotationalVelocity?: Vector3D); /** * @inheritDoc */ getAGALVertexCode(shader: ShaderBase, animationSet: ParticleAnimationSet, registerCache: ShaderRegisterCache, animationRegisterData: AnimationRegisterData): string; /** * @inheritDoc */ getAnimationState(animator: AnimatorBase): ParticleRotationalVelocityState; /** * @inheritDoc */ _iGeneratePropertyOfOneParticle(param: ParticleProperties): void; } //# sourceMappingURL=ParticleRotationalVelocityNode.d.ts.map