ParticleMaterial parameters

ParticleMaterialParameters

2024.4.18

yisky

interface ParticleMaterialParameters {
    blendingMode?: ParticleBlendingMode;
    blendingOptions?: ParticleBlendingOptions;
    colorMode?: ParticleColorMode;
    emissive?: ColorRepresentation;
    emissiveIntensity?: number;
    emissiveMap?: Texture;
    lengthScale?: number;
    map?: Texture;
    pivot?: Vector2;
    soft?: boolean;
    softFarFade?: number;
    softNearFade?: number;
    tint?: ColorRepresentation;
    tintIntensity?: number;
    velocityScale?: number;
}

Hierarchy (view full)

Properties

blendingMode?: ParticleBlendingMode

Particle material blending mode.

ParticleMaterialParameters

blendingOptions?: ParticleBlendingOptions

Particle material blending options, This property has only an effect when using custom blending.

ParticleMaterialParameters

colorMode?: ParticleColorMode

Particle material color mode.

ParticleMaterialParameters

emissive?: ColorRepresentation

Emissive color, '#000000'.

ParticleMaterialParameters

emissiveIntensity?: number

Emissive intensity, 0.0.

ParticleMaterialParameters

emissiveMap?: Texture

Emissive map

ParticleMaterialParameters

lengthScale?: number

How much are the particles stretched in their direction of motion, defined as the length of the particle compared to its width, only for Stretched mode.

ParticleMaterialParameters

map?: Texture

Main map

ParticleMaterialParameters

pivot?: Vector2

Pivot

ParticleMaterialParameters

soft?: boolean

Whether enable soft particles, default is false.

ParticleMaterialParameters

softFarFade?: number

Soft far fade distance, default is 1.0.

ParticleMaterialParameters

softNearFade?: number

Soft near fade distance, default is 0.0.

ParticleMaterialParameters

tint?: ColorRepresentation

Tint color, '#ffffff'.

ParticleMaterialParameters

tintIntensity?: number

Tint intensity, 0.0.

ParticleMaterialParameters

velocityScale?: number

Specifies how much particles stretch depending on their velocity, only for Stretched mode.

ParticleMaterialParameters