@animech-public/playcanvas
Version:
PlayCanvas WebGL game engine
95 lines (94 loc) • 4.12 kB
TypeScript
export class ParticleSystemComponentData {
numParticles: number;
rate: number;
/** @type {number} */
rate2: number;
startAngle: number;
/** @type {number} */
startAngle2: number;
lifetime: number;
emitterExtents: Vec3;
emitterExtentsInner: Vec3;
emitterRadius: number;
emitterRadiusInner: number;
emitterLength: number;
emitterLengthInner: number;
emitterShape: number;
initialVelocity: number;
wrap: boolean;
wrapBounds: Vec3;
localSpace: boolean;
screenSpace: boolean;
/** @type {import('../../../platform/graphics/texture.js').Texture} */
colorMap: import("../../../platform/graphics/texture.js").Texture;
/** @type {import('../../../framework/asset/asset.js').Asset} */
colorMapAsset: import("../../../framework/asset/asset.js").Asset;
/** @type {import('../../../platform/graphics/texture.js').Texture} */
normalMap: import("../../../platform/graphics/texture.js").Texture;
/** @type {import('../../../framework/asset/asset.js').Asset} */
normalMapAsset: import("../../../framework/asset/asset.js").Asset;
loop: boolean;
preWarm: boolean;
sort: number;
mode: number;
scene: any;
lighting: boolean;
halfLambert: boolean;
intensity: number;
stretch: number;
alignToMotion: boolean;
depthSoftening: number;
/** @type {import('../../../framework/asset/asset.js').Asset} */
renderAsset: import("../../../framework/asset/asset.js").Asset;
/** @type {import('../../../framework/asset/asset.js').Asset} */
meshAsset: import("../../../framework/asset/asset.js").Asset;
/** @type {import('../../../scene/mesh.js').Mesh} */
mesh: import("../../../scene/mesh.js").Mesh;
depthWrite: boolean;
noFog: boolean;
orientation: number;
particleNormal: Vec3;
animTilesX: number;
animTilesY: number;
animStartFrame: number;
animNumFrames: number;
animNumAnimations: number;
animIndex: number;
randomizeAnimIndex: boolean;
animSpeed: number;
animLoop: boolean;
/** @type {import('../../../core/math/curve.js').Curve} */
scaleGraph: import("../../../core/math/curve.js").Curve;
/** @type {import('../../../core/math/curve.js').Curve} */
scaleGraph2: import("../../../core/math/curve.js").Curve;
/** @type {import('../../../core/math/curve-set.js').CurveSet} */
colorGraph: import("../../../core/math/curve-set.js").CurveSet;
/** @type {import('../../../core/math/curve-set.js').CurveSet} */
colorGraph2: import("../../../core/math/curve-set.js").CurveSet;
/** @type {import('../../../core/math/curve.js').Curve} */
alphaGraph: import("../../../core/math/curve.js").Curve;
/** @type {import('../../../core/math/curve.js').Curve} */
alphaGraph2: import("../../../core/math/curve.js").Curve;
/** @type {import('../../../core/math/curve-set.js').CurveSet} */
localVelocityGraph: import("../../../core/math/curve-set.js").CurveSet;
/** @type {import('../../../core/math/curve-set.js').CurveSet} */
localVelocityGraph2: import("../../../core/math/curve-set.js").CurveSet;
/** @type {import('../../../core/math/curve-set.js').CurveSet} */
velocityGraph: import("../../../core/math/curve-set.js").CurveSet;
/** @type {import('../../../core/math/curve-set.js').CurveSet} */
velocityGraph2: import("../../../core/math/curve-set.js").CurveSet;
/** @type {import('../../../core/math/curve.js').Curve} */
rotationSpeedGraph: import("../../../core/math/curve.js").Curve;
/** @type {import('../../../core/math/curve.js').Curve} */
rotationSpeedGraph2: import("../../../core/math/curve.js").Curve;
/** @type {import('../../../core/math/curve.js').Curve} */
radialSpeedGraph: import("../../../core/math/curve.js").Curve;
/** @type {import('../../../core/math/curve.js').Curve} */
radialSpeedGraph2: import("../../../core/math/curve.js").Curve;
blendType: number;
enabled: boolean;
paused: boolean;
autoPlay: boolean;
layers: number[];
}
import { Vec3 } from '../../../core/math/vec3.js';