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