Class ModelInstanceEntry
The model instance entry that describes how to draw it.
Inheritance
System.Object
ModelInstanceEntry
Namespace: FlaxEngine
Assembly: FlaxEngine.CSharp.dll
Syntax
[Unmanaged]
public sealed class ModelInstanceEntry : ValueType
Fields
Material
The mesh surface material used for the rendering. If not assigned the default value will be used from the model asset.
Declaration
public MaterialBase Material
Field Value
MaterialBase
|
ReceiveDecals
Determines whenever this mesh can receive decals.
Declaration
public bool ReceiveDecals
Field Value
System.Boolean
|
ShadowsMode
The shadows casting mode.
Declaration
public ShadowsCastingMode ShadowsMode
Field Value
ShadowsCastingMode
|
Visible
Determines whenever this mesh is visible.
Declaration
public bool Visible
Field Value
System.Boolean
|
Properties
Default
The default ModelInstanceEntry.
Declaration
public static ModelInstanceEntry Default { get; }
Property Value
ModelInstanceEntry
|