API

Hierarchy (View Summary)

Index
  • Instantiates a Fur 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 FurMaterial

_meshes: AbstractMesh[]
diffuseColor: any = ...
furAngle: number = 0
furColor: any = ...
furDensity: number = 20
furGravity: any = ...
furLength: number = 1
furOcclusion: number = 0.0
furOffset: number = 0.0
furSpacing: number = 12
furSpeed: number = 100
furTexture: DynamicTexture
highLevelFur: boolean = true
diffuseTexture: BaseTexture
disableLighting: boolean
heightTexture: BaseTexture
maxSimultaneousLights: number
  • Parameters

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

    Returns boolean