s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejamslive now

Game Jam III

Ends Fri 25 Sep
ThemeOne More Round

The jam is running. Build something, or play the entries.

£50,000
prizepool
View the jam
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
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.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter