Class MaterialSlot
The material slot descriptor that specifies how to render geometry using it.
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public class MaterialSlot : Object
Constructors
MaterialSlot()
Properties
Material
The material to use for rendering.
Declaration
[Unmanaged]
public MaterialBase Material { get; set; }
Property Value
MaterialBase
|
Name
The slot name.
Declaration
[Unmanaged]
public string Name { get; set; }
Property Value
System.String
|
ShadowsMode
The shadows casting mode by this visual element.
Declaration
[Unmanaged]
public ShadowsCastingMode ShadowsMode { get; set; }
Property Value
ShadowsCastingMode
|