UnlitMaterial
A material type that renders without being affected by scene lighting.
Material Property Blending:
UnlitMaterial allows for the blending of different material properties to achieve the desired visual effect. PropertyValue and TextureResource are combined using a multiplicative blending mode. This means that the final appearance of the material is the result of multiplying the property value with the texture color. This blending mode helps in creating more dynamic and visually interesting effects by combining uniform values and detailed texture information. Allowing for flexible customization and control over the material's appearance. These properties may be represented by different data types, such as linear color and float, to accommodate various material characteristics.
Types
The companion object of UnlitMaterial.
Functions
Gets the base color of the UnlitMaterial.
Gets the base color texture of the UnlitMaterial.
Gets the blending mode of the UnlitMaterial.
Gets the MaterialCullingMode of the UnlitMaterial.
Gets the state of depth testing for the UnlitMaterial.
Gets the state of depth writing for the UnlitMaterial.
Gets the name of the UnlitMaterial.
Gets the opacity of the UnlitMaterial.
Gets the fill mode for rendering polygons in the UnlitMaterial.
Sets the base color of the UnlitMaterial.
Sets the texture to be used as the base color for the UnlitMaterial.
Sets the blending mode of the UnlitMaterial.
Sets the MaterialCullingMode of the UnlitMaterial.
Enables or disables depth testing for the UnlitMaterial.
Enables or disables depth writing for the UnlitMaterial.
Sets the opacity of the UnlitMaterial.
Sets the fill mode for rendering polygons in the UnlitMaterial.