import { Vector3D } from '@awayjs/core'; import { ShaderRegisterCache } from '@awayjs/stage'; import { AnimationRegisterData, ShaderBase } from '@awayjs/renderer'; import { ParticleProperties } from '../data/ParticleProperties'; import { ParticleAccelerationState } from '../states/ParticleAccelerationState'; import { ParticleAnimationSet } from '../ParticleAnimationSet'; import { AnimatorBase } from '../AnimatorBase'; import { ParticleNodeBase } from './ParticleNodeBase'; /** * A particle animation node used to apply a constant acceleration vector to the motion of a particle. */ export declare class ParticleAccelerationNode extends ParticleNodeBase { /** @private */ _acceleration: Vector3D; /** * Reference for acceleration node properties on a single particle (when in local property mode). * Expects a Vector3D object representing the direction of acceleration on the particle. */ static ACCELERATION_VECTOR3D: string; /** * Creates a new ParticleAccelerationNode * * @param mode Defines whether the mode of operation acts on local properties of a particle or global properties of the node. * @param [optional] acceleration Defines the default acceleration vector of the node, used when in global mode. */ constructor(mode: number, acceleration?: Vector3D); /** * @inheritDoc */ getAGALVertexCode(shader: ShaderBase, animationSet: ParticleAnimationSet, registerCache: ShaderRegisterCache, animationRegisterData: AnimationRegisterData): string; /** * @inheritDoc */ getAnimationState(animator: AnimatorBase): ParticleAccelerationState; /** * @inheritDoc */ _iGeneratePropertyOfOneParticle(param: ParticleProperties): void; } //# sourceMappingURL=ParticleAccelerationNode.d.ts.map