Navigation
API > API/Runtime > API/Runtime/RawMesh
Bulk data storage for raw meshes.
| Name | FRawMeshBulkData |
| Type | class |
| Header File | /Engine/Source/Runtime/RawMesh/Public/RawMesh.h |
| Include Path | #include "RawMesh.h" |
Syntax
class FRawMeshBulkData
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FRawMeshBulkData() |
Default constructor. | RawMesh.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bGuidIsHash | bool | If true, the GUID is actually a hash of the contents. | RawMesh.h | |
| BulkData | FByteBulkData | Internally store bulk data as bytes. | RawMesh.h | |
| BulkDataLock | TDontCopy< FRWLock > | Protects simultaneous access to BulkData | RawMesh.h | |
| Guid | FGuid | GUID associated with the data stored herein. | RawMesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Empty() |
Returns true if no bulk data is available for this mesh. | RawMesh.h | |
const FByteBulkData & GetBulkData() |
RawMesh.h | ||
FString GetIdString() |
Retrieve a string uniquely identifying the contents of this bulk data. | RawMesh.h | |
bool IsEmpty() |
Returns true if no bulk data is available for this mesh. | RawMesh.h | |
void LoadRawMesh
(
FRawMesh& OutMesh |
Load the raw mesh from bulk data. | RawMesh.h | |
void SaveRawMesh
(
FRawMesh& InMesh |
Store a new raw mesh in the bulk data. | RawMesh.h | |
void Serialize
(
FArchive& Ar, |
Serialization. | RawMesh.h | |
void UseHashAsGuid
(
UObject* Owner |
Uses a hash as the GUID, useful to prevent creating new GUIDs on load for legacy assets. | RawMesh.h | |
bool UsesHashAsGuid() |
RawMesh.h |