Class Material
An object that defines the drawing properties of objects.
public abstract class Material : ResourceEntity, IEnumerable<EcsNode>, IEnumerable, IResourceInfo, IArc, IDisposable, IInitializer, IInitializerBase
- Inheritance
-
Material
- Implements
- Derived
- Inherited Members
Properties
AlphaCutoff
Alpha cut off value for Alpha Masking.
public float AlphaCutoff { get; set; }
Property Value
AlphaMode
Sets the alpha mode for this material.
public MaterialAlphaMode AlphaMode { get; set; }
Property Value
Class
The class of this resource.
public override ResourceClass Class { get; }
Property Value
FaceCulling
Sets the face culling for this materail.
public MaterialFaceCulling FaceCulling { get; set; }
Property Value
Methods
GetProxyMaterial<Tback>()
public Tback? GetProxyMaterial<Tback>() where Tback : Material, new()
Returns
- Tback
Type Parameters
Tback
GetProxyMaterial<Tfront, Tback>()
public Tback? GetProxyMaterial<Tfront, Tback>() where Tfront : Material where Tback : Material, new()
Returns
- Tback
Type Parameters
Tfront
Tback
Initialize()
public override void Initialize()
InvokePropertyChanged(string)
protected void InvokePropertyChanged(string propertyName)
Parameters
propertyName
string