Interface ParticleStandardMaterialParameters

ParticleStandardMaterial parameters

ParticleStandardMaterialParameters

2024.6.28

yisky

interface ParticleStandardMaterialParameters {
    blendingMode?: ParticleBlendingMode;
    blendingOptions?: ParticleBlendingOptions;
    colorMode?: ParticleColorMode;
    emissive?: ColorRepresentation;
    emissiveIntensity?: number;
    emissiveMap?: Texture;
    lengthScale?: number;
    map?: Texture;
    normalDirection?: number;
    normalMap?: Texture;
    normalMapType?: number;
    normalScale?: Vector2;
    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

normalDirection?: number

A value of 0 means Unity calculates lighting as though the billboard was a sphere. This results in the billboard looking more like a sphere. A value of 1 means Unity calculates lighting for the billboard as a flat quad.

ParticleStandardMaterialParameters

normalMap?: Texture

Normal map

ParticleStandardMaterialParameters

normalMapType?: number

Normal map type.

ParticleStandardMaterialParameters

normalScale?: Vector2

How much the normal map affects the material.

ParticleStandardMaterialParameters

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