Search Results for

    Show / Hide Table of Contents

    Struct ModelInstanceEntry

    The model instance entry that describes how to draw it.

    Inherited Members
    ISerializable::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
    ISerializable::DeserializeIfExists(DeserializeStream& stream, const char* memberName, ISerializeModifier* modifier)
    ModelInstanceEntry
    ISerializable::Serialize(SerializeStream& stream, const void* otherObj)
    ModelInstanceEntry
    ModelInstanceEntry
    ISerializable::~ISerializable()
    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

    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2012-2024 Wojciech Figat