Struct MaterialBase
[SystemData(typeof(MaterialSystem))]
public struct MaterialBase : ISystemData<MaterialBase, MaterialSystem>, ISystemData<MaterialBase, MaterialSystem, MaterialBase>, ISystemData
- Implements
- Inherited Members
Constructors
MaterialBase()
public MaterialBase()
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
FaceCulling
Sets the face culling for this materail.
public MaterialFaceCulling FaceCulling { get; set; }
Property Value
Owner
The entity that owns this data.
public WeakReference<Entity> Owner { readonly get; set; }
Property Value
System
A reference to the system owning this data.
public SystemBase System { readonly get; set; }
Property Value
Events
MaterialPropertyChanged
public event HookHandler<MaterialPropertyChangedEventArgs> MaterialPropertyChanged