@awayjs/graphics
Version:
AwayJS graphics classes
28 lines • 1.14 kB
TypeScript
import { ShaderRegisterCache } from '@awayjs/stage';
import { ShaderBase, AnimationRegisterData } from '@awayjs/renderer';
import { ParticleRotateToHeadingState } from '../states/ParticleRotateToHeadingState';
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 match its heading vector.
*/
export declare class ParticleRotateToHeadingNode extends ParticleNodeBase {
/**
* Creates a new <code>ParticleBillboardNode</code>
*/
constructor();
/**
* @inheritDoc
*/
getAGALVertexCode(shader: ShaderBase, animationSet: ParticleAnimationSet, registerCache: ShaderRegisterCache, animationRegisterData: AnimationRegisterData): string;
/**
* @inheritDoc
*/
getAnimationState(animator: AnimatorBase): ParticleRotateToHeadingState;
/**
* @inheritDoc
*/
_iProcessAnimationSetting(particleAnimationSet: ParticleAnimationSet): void;
}
//# sourceMappingURL=ParticleRotateToHeadingNode.d.ts.map