Summary

A material. Uses several <see cref="T:Sandbox.Texture" />s and a <see cref="P:Sandbox.Material.Shader" /> with specific settings for more interesting visual effects.

Properties

Attributes Access to all of the attributes of this material.
FirstTexture
Flags Access flags on this material, which usually hint about the contents. These are generally added by the shader procedurally - but developers can add these in material editor too.
Name Name (or path) of the material.
Shader Gets the material's shader
ShaderName Gets the underlying shader name for this material.

Methods

CreateCopy Create a copy of this material
GetTexture
Set

Static Methods

Create
FromShader
Load
LoadAsync
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.