# Sandbox.DecalDefinition

A decal which can be applied to objects and surfaces.

- Kind: class
- Namespace: `Sandbox`
- Assembly: `Sandbox.Engine`
- Inherits: [Sandbox.GameResource](/api/Sandbox.GameResource)
- Modifiers: sealed

## Constructors

- [`DecalDefinition`](/api/Sandbox.DecalDefinition/.ctor)

## Properties

- [`ColorMix`](/api/Sandbox.DecalDefinition/ColorMix): 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.
- [`ColorTexture`](/api/Sandbox.DecalDefinition/ColorTexture): 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.
- [`CoverageAmount`](/api/Sandbox.DecalDefinition/CoverageAmount): Adjusts the opacity mask based on the height map.
- [`Decals`](/api/Sandbox.DecalDefinition/Decals)
- [`EmissionEnergy`](/api/Sandbox.DecalDefinition/EmissionEnergy): Strength of the emission effect.
- [`EmissiveTexture`](/api/Sandbox.DecalDefinition/EmissiveTexture): The emissive texture map to use for the decal.
- [`FilterMode`](/api/Sandbox.DecalDefinition/FilterMode): How the texture gets filtered.
- [`Height`](/api/Sandbox.DecalDefinition/Height): Height of the decal.
- [`HeightTexture`](/api/Sandbox.DecalDefinition/HeightTexture): The height texture to use for parallax mapping.
- [`NormalTexture`](/api/Sandbox.DecalDefinition/NormalTexture): The normal texture map to use for the decal.
- [`ParallaxStrength`](/api/Sandbox.DecalDefinition/ParallaxStrength): Strength of the parallax effect.
- [`RoughMetalOcclusionTexture`](/api/Sandbox.DecalDefinition/RoughMetalOcclusionTexture): The Roughness/Metal/Ambient Occlusion texture map to use for the decal, stored in the respective RGB channels.
- [`Tint`](/api/Sandbox.DecalDefinition/Tint): Tints the color of the decal's albedo and can be used to adjust the overall opacity of the decal.
- [`Width`](/api/Sandbox.DecalDefinition/Width): Width of the decal.
