Navigation
API > API/Plugins > API/Plugins/NaniteDisplacedMesh
| Name | UNaniteDisplacedMesh |
| Type | class |
| Header File | /Engine/Plugins/Experimental/NaniteDisplacedMesh/Source/NaniteDisplacedMesh/Public/NaniteDisplacedMesh.h |
| Include Path | #include "NaniteDisplacedMesh.h" |
Syntax
UCLASS (MinimalAPI)
class UNaniteDisplacedMesh :
public UObject ,
public IInterface_AsyncCompilation
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNaniteDisplacedMesh
Implements Interfaces
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UNaniteDisplacedMesh
(
const FObjectInitializer& Init |
NaniteDisplacedMesh.h |
Classes
| Name | Remarks |
|---|---|
| FOnNaniteDisplacmentMeshDependenciesChanged |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| FOnNaniteDisplacedMeshRenderingDataChanged | TMulticastDelegate_NoParams< void > | NaniteDisplacedMesh.h | |
| FOnRebuild | FOnNaniteDisplacedMeshRenderingDataChanged::FDelegate | NaniteDisplacedMesh.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| OnDependenciesChanged | FOnNaniteDisplacmentMeshDependenciesChanged | NaniteDisplacedMesh.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsEditable | bool | Was this asset created by a procedural tool? This flag is generally set by tool that created the asset. | NaniteDisplacedMesh.h |
|
| Parameters | FNaniteDisplacedMeshParams | NaniteDisplacedMesh.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bIsInitialized | bool | NaniteDisplacedMesh.h | ||
| CacheTasksByKeyHash | TMap< FIoHash, TPimplPtr< FNaniteBuildAsyncCacheTask > > | NaniteDisplacedMesh.h | ||
| Data | FNaniteData | Data used to render this displaced mesh with Nanite. | NaniteDisplacedMesh.h | |
| DataByPlatformKeyHash | TMap< FIoHash, TUniquePtr< FNaniteData > > | NaniteDisplacedMesh.h | ||
| DataKeyHash | FIoHash | NaniteDisplacedMesh.h | ||
| OnRenderingDataChanged | FOnNaniteDisplacedMeshRenderingDataChanged | NaniteDisplacedMesh.h | ||
| ReleaseResourcesFence | FRenderCommandFence | NaniteDisplacedMesh.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void FinishAsyncTasks() |
Make sure all async tasks are completed before returning | NaniteDisplacedMesh.h | |
const Nanite::FMeshDataSectionArray & GetMeshSections() |
NaniteDisplacedMesh.h | ||
const Nanite::FResources * GetNaniteData () |
NaniteDisplacedMesh.h | ||
| NaniteDisplacedMesh.h | |||
bool HasValidNaniteData() |
NaniteDisplacedMesh.h | ||
void InitResources() |
NaniteDisplacedMesh.h | ||
bool IsAsyncTaskComplete() |
Returns false if there is currently an async task running | NaniteDisplacedMesh.h | |
bool IsCompiling() |
Returns whether or not the asset is currently being compiled | NaniteDisplacedMesh.h | |
virtual bool NeedsLoadForTargetPlatform
(
const ITargetPlatform* TargetPlatform |
NaniteDisplacedMesh.h | ||
void NotifyOnRenderingDataChanged() |
NaniteDisplacedMesh.h | ||
FDelegateHandle RegisterOnRenderingDataChanged
(
const FOnRebuild& Delegate |
NaniteDisplacedMesh.h | ||
void ReleaseResources() |
NaniteDisplacedMesh.h | ||
bool TryCancelAsyncTasks () |
Try to cancel any pending async tasks. | NaniteDisplacedMesh.h | |
void UnregisterOnRenderingDataChanged
(
FDelegateUserObject Unregister |
NaniteDisplacedMesh.h | ||
void UnregisterOnRenderingDataChanged
(
FDelegateHandle Handle |
NaniteDisplacedMesh.h | ||
bool WaitForAsyncTasks
(
float TimeLimitSeconds |
Wait until all async tasks are complete, up to a time limit Returns true if all tasks are completed | NaniteDisplacedMesh.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginCacheForCookedPlatformData
(
const ITargetPlatform* TargetPlatform |
NaniteDisplacedMesh.h | ||
virtual void BeginDestroy() |
NaniteDisplacedMesh.h | ||
virtual void ClearAllCachedCookedPlatformData() |
NaniteDisplacedMesh.h | ||
virtual bool IsCachedCookedPlatformDataLoaded
(
const ITargetPlatform* TargetPlatform |
NaniteDisplacedMesh.h | ||
virtual bool IsReadyForFinishDestroy() |
NaniteDisplacedMesh.h | ||
virtual void PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
NaniteDisplacedMesh.h | ||
virtual void PostLoad() |
NaniteDisplacedMesh.h | ||
virtual void Serialize
(
FArchive& Ar |
NaniteDisplacedMesh.h |