s&
info
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
explore
Discover Games
category
Workshop
sports_esports
Games
landscape
Maps
view_in_ar
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
menu_book
Learn
docs
Documentation
api
Api Reference
school
Tutorials
manage_search
Code Search
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
MaterialMetaData
chevron_left
Classes
class
MaterialMetaData
Constructors
functions
MaterialMetaData
Properties
data_object
DoNotCastShadows
data_object
HasTrimSheet
data_object
IsAlphaTest
data_object
IsDecal
data_object
IsOverlay
data_object
IsSky
data_object
IsTranslucent
data_object
IsTransmissive
data_object
PhysicsSurface
data_object
RenderBackfaces
data_object
RepresentativeHeight
data_object
RepresentativeWidth
data_object
ShaderName
data_object
Textures
data_object
WorldMappingHeight
data_object
WorldMappingWidth
MaterialMetaData
Metadata extracted from a material package version.
class
Sandbox.Package
.
account_tree
extends
AssetMetaData
sealed
Sandbox.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.