Interface: UnlitMaterialProps
WebSG.UnlitMaterialProps
UnlitMaterialProps is an interface that defines the properties for creating an unlit Material instance.
Table of contents
Properties
Properties
alphaCutoff
• Optional
alphaCutoff: number
The alpha cutoff value for the material. Default is 0.5.
Defined in
alphaMode
• Optional
alphaMode: AlphaMode
The alpha mode for the material. Default is 'OPAQUE'.
Defined in
baseColorFactor
• Optional
baseColorFactor: ArrayLike
<number
>
The RGBA base color factor.
Defined in
baseColorTexture
• Optional
baseColorTexture: Texture
The base color texture.
Defined in
doubleSided
• Optional
doubleSided: boolean
Whether the material is visible from both sides. Default is false.
Defined in
name
• Optional
name: string
The name of the material.