Struct ModelInstanceEntry
The model instance entry that describes how to draw it.
Inherited Members
ModelInstanceEntry
ModelInstanceEntry
ModelInstanceEntry
Assembly: FlaxEngine.dll
File: Engine/Graphics/Models/ModelInstanceEntry.h
Syntax
public struct ModelInstanceEntry : public ISerializable
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 AssetReference<MaterialBase> Material
Field Value
AssetReference<MaterialBase>
|
ReceiveDecals
Determines whenever this mesh can receive decals.
Declaration
public bool ReceiveDecals = true
Field Value
bool
|
ShadowsMode
The shadows casting mode.
Declaration
public ShadowsCastingMode ShadowsMode = ShadowsCastingMode::All
Field Value
ShadowsCastingMode
|
Visible
Determines whenever this mesh is visible.
Declaration
public bool Visible = true
Field Value
bool
|
Methods
operator!=(const ModelInstanceEntry& other)
Declaration
public bool operator!=(const ModelInstanceEntry& other) const
Parameters
ModelInstanceEntry
other
|
Returns
bool
|
operator==(const ModelInstanceEntry& other)
Declaration
public bool operator==(const ModelInstanceEntry& other) const
Parameters
ModelInstanceEntry
other
|
Returns
bool
|