engine
 
载入中...
搜索中...
未找到
Public 成员函数 | Protected 成员函数 | 所有成员列表
TMeshAttributesViewBase< ViewType > 模板类 参考

This is the class used to provide a 'view' of the specified type on an attribute array. 更多...

#include <MeshAttributeArray.h>

+ 类 TMeshAttributesViewBase< ViewType > 继承关系图:

Public 成员函数

FORCEINLINE ViewType GetDefaultValue () const
 Return default value for this attribute type
 
FORCEINLINE int32 GetNumElements () const
 Get the number of elements in this attribute array
 
FORCEINLINE int32 GetNumIndices () const
 Return number of indices this attribute has
 
FORCEINLINE bool IsValid () const
 Return whether the reference is valid or not
 

Protected 成员函数

FORCEINLINE ViewType GetByIndex (const int32 ElementIndex) const
 Get the element with the given ID from index 0
 
FORCEINLINE ViewType GetByIndex (const int32 ElementIndex, const int32 AttributeIndex) const
 Get the element with the given element and attribute indices
 
FORCEINLINE void SetByIndex (const int32 ElementIndex, const int32 AttributeIndex, const ViewType &Value) const
 Set the element with the given element and attribute indices to the provided value
 
FORCEINLINE void SetByIndex (const int32 ElementIndex, const ViewType &Value) const
 Set the attribute index 0 element with the given index to the provided value
 
FORCEINLINE TMeshAttributesViewBase (ArrayType *InArrayPtr)
 Constructor taking a pointer to a FMeshAttributeArraySetBase
 

详细描述

template<typename ViewType>
class TMeshAttributesViewBase< ViewType >

This is the class used to provide a 'view' of the specified type on an attribute array.

Like TMeshAttributesRef, it is a proxy object which is valid for as long as the owning FMeshDescription exists, and should be passed by value.

This is the base class, and shouldn't be instanced directly.


该类的文档由以下文件生成: