#include <RuntimeMeshSection.h>
Classes | |
| struct | FSectionColorVertexBuffer |
| struct | FSectionIndexBuffer |
| struct | FSectionPositionVertexBuffer |
| struct | FSectionTangentsVertexBuffer |
| struct | FSectionUVsVertexBuffer |
| struct | FSectionVertexBuffer |
Public Member Functions | |
| bool | CastsShadow () const |
| bool | CheckIndexBufferSize (bool b32BitIndices) const |
| bool | CheckTangentBuffer (bool bInUseHighPrecision) const |
| bool | CheckUVBuffer (bool bInUseHighPrecision, int32 InNumUVs) const |
| FRuntimeMeshSection (FArchive &Ar) | |
| FRuntimeMeshSection (bool bInUseHighPrecisionTangents, bool bInUseHighPrecisionUVs, int32 InNumUVs, bool b32BitIndices, EUpdateFrequency InUpdateFrequency) | |
| FBox | GetBoundingBox () const |
| int32 | GetCollisionData (TArray< FVector > &OutPositions, TArray< FTriIndices > &OutIndices, TArray< FVector2D > &OutUVs) |
| int32 | GetNumIndices () const |
| int32 | GetNumVertices () const |
| TSharedPtr< struct FRuntimeMeshSectionCreationParams, ESPMode::NotThreadSafe > | GetSectionCreationParams () |
| TSharedPtr< FRuntimeMeshAccessor > | GetSectionMeshAccessor () |
| TUniquePtr< FRuntimeMeshScopedUpdater > | GetSectionMeshUpdater (const FRuntimeMeshDataPtr &ParentData, int32 SectionIndex, ESectionUpdateFlags UpdateFlags, FRuntimeMeshLockProvider *LockProvider, bool bIsReadonly) |
| TSharedPtr< struct FRuntimeMeshSectionPropertyUpdateParams, ESPMode::NotThreadSafe > | GetSectionPropertyUpdateData () |
| TSharedPtr< struct FRuntimeMeshSectionUpdateParams, ESPMode::NotThreadSafe > | GetSectionUpdateData (ERuntimeMeshBuffersToUpdate BuffersToUpdate) |
| TSharedPtr< FRuntimeMeshIndicesAccessor > | GetTessellationIndexAccessor () |
| EUpdateFrequency | GetUpdateFrequency () const |
| bool | HasValidMeshData () const |
| bool | IsCollisionEnabled () const |
| bool | IsVisible () const |
| void | SetBoundingBox (const FBox &InBoundingBox) |
| void | SetCastsShadow (bool bNewCastsShadow) |
| void | SetCollisionEnabled (bool bNewCollision) |
| void | SetVisible (bool bNewVisible) |
| bool | ShouldRender () const |
| template<typename IndexType > | |
| void | UpdateAdjacencyIndexBuffer (const TArray< IndexType > &InIndices) |
| void | UpdateBoundingBox () |
| void | UpdateColorBuffer (TArray< uint8 > &InVertices, bool bUseMove) |
| template<typename VertexType > | |
| void | UpdateColorBuffer (const TArray< VertexType > &InVertices) |
| void | UpdateIndexBuffer (TArray< uint8 > &InIndices, bool bUseMove) |
| template<typename IndexType > | |
| void | UpdateIndexBuffer (const TArray< IndexType > &InIndices) |
| void | UpdatePositionBuffer (TArray< uint8 > &InVertices, bool bUseMove) |
| template<typename VertexType > | |
| void | UpdatePositionBuffer (const TArray< VertexType > &InVertices, const FBox *BoundingBox=nullptr) |
| void | UpdateTangentsBuffer (TArray< uint8 > &InVertices, bool bUseMove) |
| template<typename VertexType > | |
| void | UpdateTangentsBuffer (const TArray< VertexType > &InVertices) |
| void | UpdateUVsBuffer (TArray< uint8 > &InVertices, bool bUseMove) |
| template<typename VertexType > | |
| void | UpdateUVsBuffer (const TArray< VertexType > &InVertices) |
Friends | |
| FArchive & | operator<< (FArchive &Ar, FRuntimeMeshSection &MeshData) |
Definition at line 16 of file RuntimeMeshSection.h.
| FRuntimeMeshSection::FRuntimeMeshSection | ( | FArchive & | Ar | ) |
Definition at line 119 of file RuntimeMeshSection.cpp.
| FRuntimeMeshSection::FRuntimeMeshSection | ( | bool | bInUseHighPrecisionTangents, |
| bool | bInUseHighPrecisionUVs, | ||
| int32 | InNumUVs, | ||
| bool | b32BitIndices, | ||
| EUpdateFrequency | InUpdateFrequency | ||
| ) |
Definition at line 103 of file RuntimeMeshSection.cpp.
|
inline |
Definition at line 267 of file RuntimeMeshSection.h.
|
inline |
Definition at line 406 of file RuntimeMeshSection.h.
|
inline |
Definition at line 396 of file RuntimeMeshSection.h.
|
inline |
Definition at line 401 of file RuntimeMeshSection.h.
|
inline |
Definition at line 269 of file RuntimeMeshSection.h.
| int32 FRuntimeMeshSection::GetCollisionData | ( | TArray< FVector > & | OutPositions, |
| TArray< FTriIndices > & | OutIndices, | ||
| TArray< FVector2D > & | OutUVs | ||
| ) |
Definition at line 209 of file RuntimeMeshSection.cpp.
|
inline |
Definition at line 272 of file RuntimeMeshSection.h.
|
inline |
Definition at line 271 of file RuntimeMeshSection.h.
| FRuntimeMeshSectionCreationParamsPtr FRuntimeMeshSection::GetSectionCreationParams | ( | ) |
Definition at line 133 of file RuntimeMeshSection.cpp.
|
inline |
Definition at line 372 of file RuntimeMeshSection.h.
|
inline |
Definition at line 378 of file RuntimeMeshSection.h.
| TSharedPtr< struct FRuntimeMeshSectionPropertyUpdateParams, ESPMode::NotThreadSafe > FRuntimeMeshSection::GetSectionPropertyUpdateData | ( | ) |
Definition at line 192 of file RuntimeMeshSection.cpp.
| FRuntimeMeshSectionUpdateParamsPtr FRuntimeMeshSection::GetSectionUpdateData | ( | ERuntimeMeshBuffersToUpdate | BuffersToUpdate | ) |
Definition at line 153 of file RuntimeMeshSection.cpp.
|
inline |
Definition at line 384 of file RuntimeMeshSection.h.
|
inline |
Definition at line 268 of file RuntimeMeshSection.h.
|
inline |
Definition at line 274 of file RuntimeMeshSection.h.
|
inline |
Definition at line 264 of file RuntimeMeshSection.h.
|
inline |
Definition at line 265 of file RuntimeMeshSection.h.
|
inline |
Definition at line 420 of file RuntimeMeshSection.h.
|
inline |
Definition at line 292 of file RuntimeMeshSection.h.
|
inline |
Definition at line 296 of file RuntimeMeshSection.h.
|
inline |
Definition at line 288 of file RuntimeMeshSection.h.
|
inline |
Definition at line 266 of file RuntimeMeshSection.h.
|
inline |
Definition at line 367 of file RuntimeMeshSection.h.
| void FRuntimeMeshSection::UpdateBoundingBox | ( | ) |
Definition at line 202 of file RuntimeMeshSection.cpp.
|
inline |
Definition at line 344 of file RuntimeMeshSection.h.
|
inline |
Definition at line 350 of file RuntimeMeshSection.h.
|
inline |
Definition at line 355 of file RuntimeMeshSection.h.
|
inline |
Definition at line 361 of file RuntimeMeshSection.h.
|
inline |
Definition at line 301 of file RuntimeMeshSection.h.
|
inline |
Definition at line 308 of file RuntimeMeshSection.h.
|
inline |
Definition at line 322 of file RuntimeMeshSection.h.
|
inline |
Definition at line 328 of file RuntimeMeshSection.h.
|
inline |
Definition at line 333 of file RuntimeMeshSection.h.
|
inline |
Definition at line 339 of file RuntimeMeshSection.h.
|
friend |
Definition at line 425 of file RuntimeMeshSection.h.
|
private |
Definition at line 242 of file RuntimeMeshSection.h.
|
private |
Definition at line 250 of file RuntimeMeshSection.h.
|
private |
Definition at line 246 of file RuntimeMeshSection.h.
|
private |
Definition at line 248 of file RuntimeMeshSection.h.
|
private |
Vertex buffer containing the colors for this section
Definition at line 239 of file RuntimeMeshSection.h.
|
private |
Definition at line 241 of file RuntimeMeshSection.h.
|
private |
Definition at line 244 of file RuntimeMeshSection.h.
|
private |
Vertex buffer containing the positions for this section
Definition at line 230 of file RuntimeMeshSection.h.
|
private |
Vertex buffer containing the tangents for this section
Definition at line 233 of file RuntimeMeshSection.h.
|
private |
Definition at line 227 of file RuntimeMeshSection.h.
|
private |
Vertex buffer containing the UVs for this section
Definition at line 236 of file RuntimeMeshSection.h.