s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
DecalDefinition
chevron_left
Classes
class
DecalDefinition
search
Constructors
functions
DecalDefinition
Properties
data_object
ColorMix
data_object
ColorTexture
remove_circle
Decals
data_object
EmissionEnergy
data_object
EmissiveTexture
data_object
FilterMode
data_object
Height
data_object
HeightTexture
data_object
NormalTexture
data_object
ParallaxStrength
data_object
RoughMetalOcclusionTexture
data_object
Tint
data_object
Width
DecalDefinition
A decal which can be applied to objects and surfaces.
class
Sandbox
.
account_tree
extends
GameResource
sealed
Sandbox.Engine
build
Constructors
1
DecalDefinition
(
)
data_object
Properties
13
ColorMix
float
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
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.
Decals
obsolete
List`1
EmissionEnergy
float
Strength of the emission effect.
EmissiveTexture
Texture
The emissive texture map to use for the decal.
FilterMode
FilterMode
How the texture gets filtered.
Height
float
Height of the decal.
HeightTexture
Texture
The height texture to use for parallax mapping.
NormalTexture
Texture
The normal texture map to use for the decal.
ParallaxStrength
float
Strength of the parallax effect.
RoughMetalOcclusionTexture
Texture
The Roughness/Metal/Ambient Occlusion texture map to use for the decal, stored in the respective RGB channels.
Tint
Color
Tints the color of the decal's albedo and can be used to adjust the overall opacity of the decal.
Width
float
Width of the decal.
Inheritance
Resource
GameResource
DecalDefinition
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.