Navigation
API > API/Plugins > API/Plugins/NaniteAssemblyEditorUtils
| Name | UNaniteAssemblyBuilder |
| Type | class |
| Header File | /Engine/Plugins/Experimental/NaniteAssemblyEditorUtils/Source/NaniteAssemblyEditorUtils/Public/NaniteAssemblyBuilder.h |
| Include Path | #include "NaniteAssemblyBuilder.h" |
Syntax
UCLASS (Abstract)
class UNaniteAssemblyBuilder : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNaniteAssemblyBuilder
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UNaniteAssemblyBuilder
(
const FObjectInitializer& Initializer |
NaniteAssemblyBuilder.h |
Structs
| Name | Remarks |
|---|---|
| FAddPartsResult |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
int32 AddMaterialSlot
(
UMaterialInterface* Material, |
Creates a material slot in the specified material slot group with a given material. | NaniteAssemblyBuilder.h |
|
int32 AddMaterialSlotGroup () |
Creates a new material slot group on the builder, which allows you to be selective about which assembly parts' materials can be merged together. | NaniteAssemblyBuilder.h |
|
virtual UObject * GetTargetMeshObject() |
Retrieves the target object of the current assembly build | NaniteAssemblyBuilder.h |
|
bool IsBuildingAssembly() |
Returns whether or not this object is in the middle of an assembly build | NaniteAssemblyBuilder.h |
|
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAddPartsResult AddParts
(
FSoftObjectPath MeshObjectPath, |
NaniteAssemblyBuilder.h | ||
FAddPartsResult AddParts
(
FSoftObjectPath MeshObjectPath, |
NaniteAssemblyBuilder.h | ||
FAddPartsResult FindOrAddPartMesh
(
FSoftObjectPath MeshObjectPath, |
NaniteAssemblyBuilder.h | ||
int32 MergeMaterialSlot
(
int32 SourceSlotIndex, |
NaniteAssemblyBuilder.h | ||
void Reset() |
NaniteAssemblyBuilder.h | ||
bool ValidateBuildStatus
(
const TCHAR* Label, |
NaniteAssemblyBuilder.h | ||
bool ValidateCandidatePartMesh
(
const TMesh* Mesh |
NaniteAssemblyBuilder.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static TMesh * CreateNewMeshForAssemblyBuild
(
const FNaniteAssemblyCreateNewParameters& Parameters, |
NaniteAssemblyBuilder.h | ||
static UObject * CreateNewMeshForAssemblyBuild
(
const FNaniteAssemblyCreateNewParameters& Parameters, |
NaniteAssemblyBuilder.h |