DecalDefinitionclass
A decal which can be applied to objects and surfaces.
Constructors1
Showing 1 constructors
public DecalDefinition()
No results match this filter.
Properties14
Showing 14 properties
public float Sandbox.DecalDefinition.ColorMix { get; set; }
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.
float—public Sandbox.Texture Sandbox.DecalDefinition.ColorTexture { get; set; }
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.
public float Sandbox.DecalDefinition.CoverageAmount { get; set; }
Adjusts the opacity mask based on the height map.
float—public System.Collections.Generic.List`1<Sandbox.DecalDefinition.DecalEntry> Sandbox.DecalDefinition.Decals { get; set; }
Obsolete: This API member is obsolete.
public float Sandbox.DecalDefinition.EmissionEnergy { get; set; }
Strength of the emission effect.
float—public Sandbox.Texture Sandbox.DecalDefinition.EmissiveTexture { get; set; }
The emissive texture map to use for the decal.
public Sandbox.Rendering.FilterMode Sandbox.DecalDefinition.FilterMode { get; set; }
How the texture gets filtered.
public float Sandbox.DecalDefinition.Height { get; set; }
Height of the decal.
float—public Sandbox.Texture Sandbox.DecalDefinition.HeightTexture { get; set; }
The height texture to use for parallax mapping.
public Sandbox.Texture Sandbox.DecalDefinition.NormalTexture { get; set; }
The normal texture map to use for the decal.
public float Sandbox.DecalDefinition.ParallaxStrength { get; set; }
Strength of the parallax effect.
float—public Sandbox.Texture Sandbox.DecalDefinition.RoughMetalOcclusionTexture { get; set; }
The Roughness/Metal/Ambient Occlusion texture map to use for the decal, stored in the respective RGB channels.
public Color Sandbox.DecalDefinition.Tint { get; set; }
Tints the color of the decal's albedo and can be used to adjust the overall opacity of the decal.
public float Sandbox.DecalDefinition.Width { get; set; }
Width of the decal.
float—No results match this filter.