Bitbybit Docs
    Preparing search index...
    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • Optionalmesh: AbstractMesh
      • Optionalmaterial: Material
      • Optionalwidth: number
      • Optionalheight: number

      Returns EnableDecalMapDto

    Properties

    mesh: AbstractMesh

    Mesh on which a UV-space decal map should be enabled. The mesh must have proper, non-overlapping UV coordinates.

    undefined
    
    material: Material

    Material of the mesh on which the decal map plugin should be turned on so projected decals are blended in the shader.

    undefined
    
    width: number

    Width in pixels of the internal decal map render target.

    1024
    
    height: number

    Height in pixels of the internal decal map render target.

    1024