s&
infoAbout
infoAbout s&box newspaperLatest News published_with_changesChanges mapRoadmap monitoringMetrics
gamesGames
sports_esportsBrowse Games exploreDiscover Games
categoryWorkshop
sports_esportsGames landscapeMaps view_in_arModels textureMaterials apparelClothing constructionMore..
forumForum menu_bookLearn
docsDocumentation apiApi Reference schoolTutorials manage_searchCode Search
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
MaterialMetaData
chevron_left Classes
class
MaterialMetaData

Constructors

functionsMaterialMetaData

Properties

data_objectDoNotCastShadowsdata_objectHasTrimSheetdata_objectIsAlphaTestdata_objectIsDecaldata_objectIsOverlaydata_objectIsSkydata_objectIsTranslucentdata_objectIsTransmissivedata_objectPhysicsSurfacedata_objectRenderBackfacesdata_objectRepresentativeHeightdata_objectRepresentativeWidthdata_objectShaderNamedata_objectTexturesdata_objectWorldMappingHeightdata_objectWorldMappingWidth
MaterialMetaData
Metadata extracted from a material package version.
class Sandbox.Package .account_tree extends AssetMetaData
sealedSandbox.Engine

build Constructors 1

MaterialMetaData ()

data_object Properties 16

DoNotCastShadows
bool
HasTrimSheet
bool
True if the package ships a trim/hotspot sheet (a .rect file).
IsAlphaTest
bool
IsDecal
bool
IsOverlay
bool
IsSky
bool
IsTranslucent
bool
IsTransmissive
bool
PhysicsSurface
string
Physics surface property name, if set.
RenderBackfaces
bool
RepresentativeHeight
int
RepresentativeWidth
int
Resolution of the material's representative (main) texture, 0 if none.
ShaderName
string
Textures
ImmutableArray`1
The textures the material references and their dimensions.
WorldMappingHeight
float
WorldMappingWidth
float
World-aligned mapping size, if the shader defines it (0 otherwise).

Inheritance

AssetMetaData
MaterialMetaData
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