Search Results for

    Show / Hide Table of Contents

    Class ModelInstanceEntries

    Collection of model instance entries.

    Inheritance
    Array
    ModelInstanceEntries
    Inherited Members
    Array::Add(const T& item)
    Array::Add(T&& item)
    Array::Add(const T* items, const int32 count)
    Array::Add(const Array<Other, OtherAllocationType>& other)
    Array::AddDefault(const int32 count=1)
    Array::AddOne()
    Array::AddUninitialized(const int32 count=1)
    Array::AddUnique(const T& item)
    Array::AddZeroed(const int32 count=1)
    ModelInstanceEntries
    Array::Array()
    Array::Array(const int32 capacity)
    Array::Array(const T* data, const int32 length)
    Array::Array(std::initializer_list<T> initList)
    Array::Array(const Array& other)
    Array::Array(const Array<Other, OtherAllocationType>& other)
    Array::Array(Array&& other)
    Array::At(const int32 index)
    Array::begin()
    Array::Begin()
    Array::Capacity()
    Array::Clear()
    Array::ClearDelete()
    Array::Contains(const Other& item)
    Array::Count()
    Array::Dequeue()
    ISerializable::DeserializeIfExists(DeserializeStream& stream, const char* memberName, ISerializeModifier* modifier)
    ModelInstanceEntries
    Array::end()
    Array::End()
    Array::Enqueue(const T& item)
    Array::Enqueue(T&& item)
    Array::EnsureCapacity(const int32 minCapacity, const bool preserveContents=true)
    Array::Find(const ComparableType& item, int32& index)
    Array::Find(const ComparableType& item)
    Array::FindLast(const ComparableType& item, int& index)
    Array::FindLast(const ComparableType& item)
    Array::First()
    Array::Get()
    Array::HasItems()
    Array::Insert(const int32 index, const T& item)
    Array::Insert(const int32 index, T&& item)
    Array::Insert(const int32 index)
    Array::IsEmpty()
    Array::IsValidIndex(const int32 index)
    ModelInstanceEntries
    Array::Last()
    Array::operator!=(const Array<Other, OtherAllocationType>& other)
    Array::operator=(std::initializer_list<T> initList)
    Array::operator=(const Array& other)
    Array::operator=(Array&& other)
    Array::operator==(const Array<Other, OtherAllocationType>& other)
    Array::operator[](const int32 index)
    Array::Peek()
    Array::Pop()
    Array::Push(const T& item)
    Array::Remove(const T& item)
    Array::RemoveAll(const T& item)
    Array::RemoveAllKeepOrder(const T& item)
    Array::RemoveAt(const int32 index)
    Array::RemoveAtKeepOrder(const int32 index)
    Array::RemoveKeepOrder(const T& item)
    Array::RemoveLast()
    Array::Resize(const int32 size, const bool preserveContents=true)
    Array::Reverse()
    ModelInstanceEntries
    ModelInstanceEntries
    Array::Set(const T* data, const int32 count)
    Array::SetAll(const T& value)
    Array::SetCapacity(const int32 capacity, const bool preserveContents=true)
    Array::Swap(Array& other)
    Array::~Array()
    ISerializable::~ISerializable()
    Assembly: FlaxEngine.dll
    File: Engine/Graphics/Models/ModelInstanceEntry.h
    Syntax
    public class ModelInstanceEntries : public Array, public ISerializable

    Methods

    Clone(const ModelInstanceEntries* other)

    Clones the other buffer data

    Declaration
    public void Clone(const ModelInstanceEntries* other)
    Parameters
    ModelInstanceEntries other

    The other buffer to clone.

    Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)

    Deserializes object from the input stream.

    Declaration
    public virtual void Deserialize(DeserializeStream& stream, ISerializeModifier* modifier) override
    Parameters
    DeserializeStream stream

    The input stream.

    ISerializeModifier modifier

    The deserialization modifier object. Always valid.

    Overrides
    ISerializable::Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)

    HasContentLoaded()

    Declaration
    public bool HasContentLoaded() const
    Returns
    bool

    IsValidFor(const Model* model)

    Determines whether buffer is valid for the given model.

    Declaration
    public bool IsValidFor(const Model* model) const
    Parameters
    Model model

    The model.

    Returns
    bool

    True if this buffer is valid for the specified model object.

    IsValidFor(const SkinnedModel* model)

    Determines whether buffer is valid ofr the given skinned model.

    Declaration
    public bool IsValidFor(const SkinnedModel* model) const
    Parameters
    SkinnedModel model

    The skinned model.

    Returns
    bool

    True if this buffer is valid for the specified skinned model object.

    Release()

    Releases the buffer data.

    Declaration
    public void Release()

    Serialize(SerializeStream& stream, const void* otherObj)

    Serializes object to the output stream compared to the values of the other object instance (eg. default class object). If other object is null then serialize all properties.

    Declaration
    public virtual void Serialize(SerializeStream& stream, const void* otherObj) override
    Parameters
    SerializeStream stream

    The output stream.

    void otherObj

    The instance of the object to compare with and serialize only the modified properties. If null, then serialize all properties.

    Overrides
    ISerializable::Serialize(SerializeStream& stream, const void* otherObj)

    Setup(const Model* model)

    Setup buffer for given model

    Declaration
    public void Setup(const Model* model)
    Parameters
    Model model

    Model to setup for

    Setup(const SkinnedModel* model)

    Setup buffer for given skinned model

    Declaration
    public void Setup(const SkinnedModel* model)
    Parameters
    SkinnedModel model

    Model to setup for

    Setup(int32 slotsCount)

    Setup buffer for given amount of material slots

    Declaration
    public void Setup(int32 slotsCount)
    Parameters
    int32 slotsCount

    Amount of material slots

    SetupIfInvalid(const Model* model)

    Setups the buffer if is invalid (has different amount of entries).

    Declaration
    public void SetupIfInvalid(const Model* model)
    Parameters
    Model model

    The model.

    SetupIfInvalid(const SkinnedModel* model)

    Setups the buffer if is invalid (has different amount of entries).

    Declaration
    public void SetupIfInvalid(const SkinnedModel* model)
    Parameters
    SkinnedModel model

    The skinned model.

    • Improve this Doc
    • View Source
    In This Article
    • Methods
      • Clone(const ModelInstanceEntries* other)
      • Deserialize(DeserializeStream& stream, ISerializeModifier* modifier)
      • HasContentLoaded()
      • IsValidFor(const Model* model)
      • IsValidFor(const SkinnedModel* model)
      • Release()
      • Serialize(SerializeStream& stream, const void* otherObj)
      • Setup(const Model* model)
      • Setup(const SkinnedModel* model)
      • Setup(int32 slotsCount)
      • SetupIfInvalid(const Model* model)
      • SetupIfInvalid(const SkinnedModel* model)
    Back to top Copyright © 2012-2024 Wojciech Figat