Navigation
API > API/Developer > API/Developer/NaniteUtilities
| Name | FSettingsLayout |
| Type | class |
| Header File | /Engine/Source/Developer/NaniteUtilities/Public/NaniteLayout.h |
| Include Path | #include "NaniteLayout.h" |
Syntax
template<typename TMeshType, bool bSupportsForceEnable, bool bSupportsHighRes>
class FSettingsLayout : public TSharedFromThis< FSettingsLayout< TMeshType, bSupportsForceEnable, bSupportsHighRes > >
Inheritance Hierarchy
- FSharedFromThisBase → TSharedFromThis → FSettingsLayout
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FSettingsLayout() |
NaniteLayout.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
~FSettingsLayout() |
NaniteLayout.h |
Typedefs
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| MeshType | TMeshType | NaniteLayout.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| DisplayBoneWeightPrecisionAuto | const int32 | Bone Weight Precision range selectable in the UI. | NaniteLayout.h |
| DisplayBoneWeightPrecisionMax | const int32 | NaniteLayout.h | |
| DisplayBoneWeightPrecisionMin | const int32 | NaniteLayout.h | |
| DisplayBoneWeightPrecisionRigid | const int32 | NaniteLayout.h | |
| DisplayMinimumResidencyExpRangeMax | const int32 | NaniteLayout.h | |
| DisplayMinimumResidencyExpRangeMin | const int32 | NaniteLayout.h | |
| DisplayMinimumResidencyFullIndex | const int32 | NaniteLayout.h | |
| DisplayMinimumResidencyMinimalIndex | const int32 | Residency range selectable in the UI. | NaniteLayout.h |
| DisplayNormalPrecisionAuto | const int32 | Normal Precision range selectable in the UI. | NaniteLayout.h |
| DisplayNormalPrecisionMax | const int32 | NaniteLayout.h | |
| DisplayNormalPrecisionMin | const int32 | NaniteLayout.h | |
| DisplayPositionPrecisionAuto | const int32 | Position Precision range selectable in the UI. | NaniteLayout.h |
| DisplayPositionPrecisionMax | const int32 | NaniteLayout.h | |
| DisplayPositionPrecisionMin | const int32 | NaniteLayout.h | |
| DisplayTangentPrecisionAuto | const int32 | Tangent Precision range selectable in the UI. | NaniteLayout.h |
| DisplayTangentPrecisionMax | const int32 | NaniteLayout.h | |
| DisplayTangentPrecisionMin | const int32 | NaniteLayout.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| OnGetMesh | TDelegate< MeshType *()> | NaniteLayout.h | ||
| OnRefreshTool | TDelegate< void()> | NaniteLayout.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void AddToDetailsPanel
(
TWeakObjectPtr< TMeshType > WeakMeshPtr, |
NaniteLayout.h | ||
void ApplyChanges() |
Apply current Nanite settings to the mesh. | NaniteLayout.h | |
MeshType * GetMesh() |
NaniteLayout.h | ||
const FMeshNaniteSettings & GetSettings() |
NaniteLayout.h | ||
bool IsApplyNeeded() |
Returns true if settings have been changed and an Apply is needed to update the asset. | NaniteLayout.h | |
void RefreshTool() |
NaniteLayout.h | ||
void UpdateSettings
(
const FMeshNaniteSettings& InSettings |
NaniteLayout.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool DoesHiResDataExists() |
NaniteLayout.h | ||
int32 GetDisplacementUVChannel() |
NaniteLayout.h | ||
float GetFallbackPercentTriangles() |
NaniteLayout.h | ||
float GetFallbackRelativeError() |
NaniteLayout.h | ||
FString GetHiResSourceFilename() |
NaniteLayout.h | ||
float GetKeepPercentTriangles() |
NaniteLayout.h | ||
float GetTrimRelativeError() |
NaniteLayout.h | ||
ECheckBoxState IsEnabledChecked() |
NaniteLayout.h | ||
bool IsHiResDataEmpty() |
NaniteLayout.h | ||
bool IsSkeletalMesh() |
NaniteLayout.h | ||
FReply OnApply() |
NaniteLayout.h | ||
void OnBoneWeightPrecisionChanged
(
TSharedPtr< FString > NewValue, |
NaniteLayout.h | ||
void OnDisplacementUVChannelChanged
(
int32 NewValue |
NaniteLayout.h | ||
void OnEnabledChanged
(
ECheckBoxState NewState |
NaniteLayout.h | ||
void OnFallbackPercentTrianglesChanged
(
float NewValue |
NaniteLayout.h | ||
void OnFallbackPercentTrianglesCommitted
(
float NewValue, |
NaniteLayout.h | ||
void OnFallbackRelativeErrorChanged
(
float NewValue |
NaniteLayout.h | ||
FReply OnImportHiRes() |
NaniteLayout.h | ||
void OnKeepPercentTrianglesChanged
(
float NewValue |
NaniteLayout.h | ||
void OnKeepPercentTrianglesCommitted
(
float NewValue, |
NaniteLayout.h | ||
void OnNormalPrecisionChanged
(
TSharedPtr< FString > NewValue, |
NaniteLayout.h | ||
FReply OnOpenProjectSettings() |
NaniteLayout.h | ||
void OnPositionPrecisionChanged
(
TSharedPtr< FString > NewValue, |
NaniteLayout.h | ||
FReply OnReimportHiRes() |
NaniteLayout.h | ||
FReply OnReimportHiResWithNewFile() |
NaniteLayout.h | ||
FReply OnRemoveHiRes() |
NaniteLayout.h | ||
void OnResidencyChanged
(
TSharedPtr< FString > NewValue, |
NaniteLayout.h | ||
void OnTangentPrecisionChanged
(
TSharedPtr< FString > NewValue, |
NaniteLayout.h | ||
void OnTrimRelativeErrorChanged
(
float NewValue |
NaniteLayout.h | ||
void SetHiResSourceFilename
(
const FString& NewSourceFile |
NaniteLayout.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static int32 BoneWeightPrecisionIndexToValue
(
int32 Index |
NaniteLayout.h | ||
static FString BoneWeightPrecisionValueToDisplayString
(
int32 Value |
Display string to show in menus. | NaniteLayout.h | |
static int32 BoneWeightPrecisionValueToIndex
(
int32 Value |
NaniteLayout.h | ||
static uint32 MinimumResidencyIndexToValue
(
int32 Index |
NaniteLayout.h | ||
static FString MinimumResidencyValueToDisplayString
(
uint32 Value |
Display string to show in menus. | NaniteLayout.h | |
static int32 MinimumResidencyValueToIndex
(
uint32 Value |
NaniteLayout.h | ||
static int32 NormalPrecisionIndexToValue
(
int32 Index |
NaniteLayout.h | ||
static FString NormalPrecisionValueToDisplayString
(
int32 Value |
Display string to show in menus. | NaniteLayout.h | |
static int32 NormalPrecisionValueToIndex
(
int32 Value |
NaniteLayout.h | ||
static int32 PositionPrecisionIndexToValue
(
int32 Index |
NaniteLayout.h | ||
static FString PositionPrecisionValueToDisplayString
(
int32 Value |
Display string to show in menus. | NaniteLayout.h | |
static int32 PositionPrecisionValueToIndex
(
int32 Value |
NaniteLayout.h | ||
static int32 TangentPrecisionIndexToValue
(
int32 Index |
NaniteLayout.h | ||
static FString TangentPrecisionValueToDisplayString
(
int32 Value |
Display string to show in menus. | NaniteLayout.h | |
static int32 TangentPrecisionValueToIndex
(
int32 Value |
NaniteLayout.h |