s&
newspaperAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games rocketDiscover Games
business_centerWorkshop
sports_esportsGames landscapeMaps chairModels textureMaterials apparelClothing constructionMore..
forumForum docsDocs
docsDocumentation dashboardApi Reference schoolTutorials
inputLog in with Steam chevron_leftChange Language
简体中文EnglishРусскийEspañolPortuguês-BrasilDeutsch日本語FrançaisPolskiTürkçe한국어PirateItalianoไทย繁體中文УкраїнськаČeštinaNederlandsMagyarDanskSuomiSvenskaNorskΕλληνικάRomânăБългарскиTiếng ViệtBahasa IndonesiaEspañol-Latinoaméricaالعربية
Api
Classes
DecalDefinition
chevron_left Classes
class
DecalDefinition

Constructors

functionsDecalDefinition

Properties

data_objectColorMixdata_objectColorTextureremove_circleDecalsdata_objectEmissionEnergydata_objectEmissiveTexturedata_objectFilterModedata_objectHeightdata_objectHeightTexturedata_objectNormalTexturedata_objectParallaxStrengthdata_objectRoughMetalOcclusionTexturedata_objectTintdata_objectWidth
DecalDefinition
A decal which can be applied to objects and surfaces.
class Sandbox .account_tree extends GameResource
sealedSandbox.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
obsoleteList`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.
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter