@awayjs/graphics
Version:
AwayJS graphics classes
36 lines • 1.45 kB
TypeScript
import { ColorTransform } from '@awayjs/core';
import { ShaderRegisterCache } from '@awayjs/stage';
import { ShaderBase, AnimationRegisterData } from '@awayjs/renderer';
import { ParticleProperties } from '../data/ParticleProperties';
import { ParticleAnimationSet } from '../ParticleAnimationSet';
import { ParticleNodeBase } from './ParticleNodeBase';
/**
*
*/
export declare class ParticleInitialColorNode extends ParticleNodeBase {
/** @private */
_iUsesMultiplier: boolean;
/** @private */
_iUsesOffset: boolean;
/** @private */
_iInitialColor: ColorTransform;
/**
* Reference for color node properties on a single particle (when in local property mode).
* Expects a <code>ColorTransform</code> object representing the color transform applied to the particle.
*/
static COLOR_INITIAL_COLORTRANSFORM: string;
constructor(mode: number, usesMultiplier?: boolean, usesOffset?: boolean, initialColor?: ColorTransform);
/**
* @inheritDoc
*/
getAGALVertexCode(shader: ShaderBase, animationSet: ParticleAnimationSet, registerCache: ShaderRegisterCache, animationRegisterData: AnimationRegisterData): string;
/**
* @inheritDoc
*/
_iProcessAnimationSetting(particleAnimationSet: ParticleAnimationSet): void;
/**
* @inheritDoc
*/
_iGeneratePropertyOfOneParticle(param: ParticleProperties): void;
}
//# sourceMappingURL=ParticleInitialColorNode.d.ts.map