import { Vector3D } from '@awayjs/core'; import { ShaderRegisterCache } from '@awayjs/stage'; import { ShaderBase, AnimationRegisterData } from '@awayjs/renderer'; import { ParticleProperties } from '../data/ParticleProperties'; import { ParticleRotateToPositionState } from '../states/ParticleRotateToPositionState'; import { ParticleAnimationSet } from '../ParticleAnimationSet'; import { AnimatorBase } from '../AnimatorBase'; import { ParticleNodeBase } from './ParticleNodeBase'; /** * A particle animation node used to control the rotation of a particle to face to a position */ export declare class ParticleRotateToPositionNode extends ParticleNodeBase { /** @private */ _iPosition: Vector3D; /** * Reference for the position the particle will rotate to face for a single particle (when in local property mode). * Expects a Vector3D object representing the position that the particle must face. */ static POSITION_VECTOR3D: string; /** * Creates a new ParticleRotateToPositionNode */ constructor(mode: number, position?: Vector3D); /** * @inheritDoc */ getAGALVertexCode(shader: ShaderBase, animationSet: ParticleAnimationSet, registerCache: ShaderRegisterCache, animationRegisterData: AnimationRegisterData): string; /** * @inheritDoc */ getAnimationState(animator: AnimatorBase): ParticleRotateToPositionState; /** * @inheritDoc */ _iGeneratePropertyOfOneParticle(param: ParticleProperties): void; } //# sourceMappingURL=ParticleRotateToPositionNode.d.ts.map