API

Hierarchy (View Summary)

Index
  • Instantiates a Fire Material in the given scene

    Parameters

    • name: string

      The friendly name of the material

    • Optionalscene: any

      The scene to add the material to

    • forceGLSL: boolean = false

      Use the GLSL code generation for the shader (even on WebGPU). Default is false

    Returns FireMaterial

diffuseColor: any = ...
speed: number = 1.0
diffuseTexture: Nullable<BaseTexture>
distortionTexture: Nullable<BaseTexture>
opacityTexture: Nullable<BaseTexture>
  • Parameters

    • mesh: AbstractMesh
    • subMesh: SubMesh
    • OptionaluseInstances: boolean

    Returns boolean