class
DecalDefinition
public sealed class DecalDefinition : GameResource A decal which can be applied to objects and surfaces.
Constructors
DecalDefinition() Properties
| Name | Type | Description |
|---|---|---|
Decals | List<DecalEntry> | |
ColorTexture | Texture | The color map to use for the decal including transparency which masks the decal. This must be set for other textures to use the decal mask. |
NormalTexture | Texture | The normal texture map to use for the decal. |
RoughMetalOcclusionTexture | Texture | The Roughness/Metal/Ambient Occlusion texture map to use for the decal, stored in the respective RGB channels. |
EmissiveTexture | Texture | The emissive texture map to use for the decal. |
EmissionEnergy | Single | Strength of the emission effect. |
HeightTexture | Texture | The height texture to use for parallax mapping. |
ParallaxStrength | Single | Strength of the parallax effect. |
Tint | Color | Tints the color of the decal's albedo and can be used to adjust the overall opacity of the decal. |
ColorMix | Single | Controls the opacity of the decal's color texture without reducing the impact of the normal or rmo texture. Set to 0 to create a normal/rmo only decal masked by the color textures alpha. |
Width | Single | Width of the decal. |
Height | Single | Height of the decal. |
FilterMode | FilterMode | How the texture gets filtered. |