@awayjs/graphics
Version:
AwayJS graphics classes
33 lines • 1.32 kB
TypeScript
import { ColorTransform } from '@awayjs/core';
import { ShaderRegisterCache } from '@awayjs/stage';
import { ShaderBase, AnimationRegisterData } from '@awayjs/renderer';
import { ColorSegmentPoint } from '../data/ColorSegmentPoint';
import { ParticleAnimationSet } from '../ParticleAnimationSet';
import { ParticleNodeBase } from './ParticleNodeBase';
/**
*
*/
export declare class ParticleSegmentedColorNode extends ParticleNodeBase {
/** @private */
_iUsesMultiplier: boolean;
/** @private */
_iUsesOffset: boolean;
/** @private */
_iStartColor: ColorTransform;
/** @private */
_iEndColor: ColorTransform;
/** @private */
_iNumSegmentPoint: number;
/** @private */
_iSegmentPoints: Array<ColorSegmentPoint>;
constructor(usesMultiplier: boolean, usesOffset: boolean, numSegmentPoint: number, startColor: ColorTransform, endColor: ColorTransform, segmentPoints: Array<ColorSegmentPoint>);
/**
* @inheritDoc
*/
_iProcessAnimationSetting(particleAnimationSet: ParticleAnimationSet): void;
/**
* @inheritDoc
*/
getAGALVertexCode(shader: ShaderBase, animationSet: ParticleAnimationSet, registerCache: ShaderRegisterCache, animationRegisterData: AnimationRegisterData): string;
}
//# sourceMappingURL=ParticleSegmentedColorNode.d.ts.map