# class
ULODRecipe
A collection of Static & Skeletal mesh along with processing settings for each LOD Level
# Members (public)
Type | Member | Description |
---|---|---|
ULODRecipe::FNewAssetsCreatedEvent | NewAssetsCreatedEvent | No description available. |
# Methods (public)
Method | Description |
---|---|
AddMesh | Constructor, initializing counter to passed in value. |
ApplyStreamedLODs | No description available. |
ApplyStreamedLODs | No description available. |
ApplyStreamedLODsToMeshes | No description available. |
CreatePipeline | Creates a pipeline ready to be processed by RunSceneAsync() for material baking. This is only valid if the pipeline contains casters and valid mapping image settings. |
GetAllMeshes | Gets all Meshes |
GetPipelines | No description available. |
GetSkeletalMeshes | Gets all SKeletal Meshes |
GetStaticMeshes | Gets all Static Meshes |
PostDuplicate | No description available. |
PostLoad | No description available. |
ProcessCompleted | Process Completed Callback |
ProcessSkeletalMeshCompleted | Process Completed Callback |
RemoveAllMeshes | Removes all USkeletalMeshes & UStaticMeshes from the recpie. |
RemoveAllSkeletalMeshes | Removes all USkeletalMeshes from the recpie. |
RemoveAllStaticMeshes | Removes all UStaticMeshes from the recpie. |
RemoveMesh | Removes a UStaticMesh or USkeletalMesh from the recpie. |
Serialize | Serialize object. |
SetupPerLODSection | No description available. |
# AddMesh
# Syntax
void AddMesh(int);
# Parameters
Type | Name | Description |
---|---|---|
int | Mesh | Value to initialize counter to. |
Return Type:
void
# ApplyStreamedLODs
# Syntax
void ApplyStreamedLODs(UStaticMesh *, bool);
# Parameters
Type | Name | Description |
---|---|---|
UStaticMesh | StaticMesh | |
bool | bPostEditChange |
Return Type:
void
# ApplyStreamedLODs
# Syntax
void ApplyStreamedLODs(USkeletalMesh *, bool);
# Parameters
Type | Name | Description |
---|---|---|
USkeletalMesh | SkeletalMesh | |
bool | bPostEditChange |
Return Type:
void
# ApplyStreamedLODsToMeshes
# Syntax
void ApplyStreamedLODsToMeshes(bool);
# Parameters
Type | Name | Description |
---|---|---|
bool | bPostEditChange |
Return Type:
void
# CreatePipeline
# Syntax
Simplygon::spPipeline CreatePipeline(Simplygon::ISimplygon *, struct FSimplygonFlattenMaterialSettings &);
# Parameters
Type | Name | Description |
---|---|---|
Simplygon::ISimplygon | SDK | - Simplygon API pointer fetched from ISimplygonModule. |
FSimplygonFlattenMaterialSettings | OutFlattenMaterialSettings | - Returns flatten material settings needed. |
Return Type:
Simplygon::spPipeline
# GetAllMeshes
# Syntax
int GetAllMeshes();
# Parameters
GetAllMeshes takes no parameters.
Return Type:
int
# GetPipelines
# Syntax
const TArray<USimplygonPipeline *> & GetPipelines();
# Parameters
GetPipelines takes no parameters.
Return Type:
TArray<USimplygonPipeline >
# GetSkeletalMeshes
# Syntax
int GetSkeletalMeshes();
# Parameters
GetSkeletalMeshes takes no parameters.
Return Type:
int
# GetStaticMeshes
# Syntax
int GetStaticMeshes();
# Parameters
GetStaticMeshes takes no parameters.
Return Type:
int
# PostDuplicate
# Syntax
void PostDuplicate(bool);
# Parameters
Type | Name | Description |
---|---|---|
bool | bDuplicateForPIE |
Return Type:
void
# PostLoad
# Syntax
void PostLoad();
# Parameters
PostLoad takes no parameters.
Return Type:
void
# ProcessCompleted
# Syntax
void ProcessCompleted(const FSimplygonJobData &, const Simplygon::spPipeline &);
# Parameters
Type | Name | Description |
---|---|---|
FSimplygonJobData | JobData | FSimplygonJobData to setup Static Mesh after LOD process is completed. |
Simplygon::spPipeline | Pipeline | the Simplygon pipeline object used to process. |
Return Type:
void
# ProcessSkeletalMeshCompleted
# Syntax
void ProcessSkeletalMeshCompleted(const FSimplygonJobData &, const Simplygon::spPipeline &);
# Parameters
Type | Name | Description |
---|---|---|
FSimplygonJobData | JobData | FSimplygonJobData to setup Skeletal Mesh after LOD process is completed. |
Simplygon::spPipeline | Pipeline | the Simplygon pipeline object used to process. |
Return Type:
void
# RemoveAllMeshes
# Syntax
void RemoveAllMeshes();
# Parameters
RemoveAllMeshes takes no parameters.
Return Type:
void
# RemoveAllSkeletalMeshes
# Syntax
void RemoveAllSkeletalMeshes();
# Parameters
RemoveAllSkeletalMeshes takes no parameters.
Return Type:
void
# RemoveAllStaticMeshes
# Syntax
void RemoveAllStaticMeshes();
# Parameters
RemoveAllStaticMeshes takes no parameters.
Return Type:
void
# RemoveMesh
# Syntax
void RemoveMesh(int);
# Parameters
Type | Name | Description |
---|---|---|
int | Mesh | a TSoftObjectPtr<UObject> to static or skeletal mesh to remove. |
Return Type:
void
# Serialize
# Syntax
void Serialize(FArchive &);
# Parameters
Type | Name | Description |
---|---|---|
FArchive | Ar | The serialization backend. |
Return Type:
void
# SetupPerLODSection
# Syntax
void SetupPerLODSection(Simplygon::spScene &, TMap<int32, FName> &, Simplygon::spSceneMesh &, TArray<int32> &);
# Parameters
Type | Name | Description |
---|---|---|
Simplygon::spScene | Scene | |
TMap<int32, FName> | MaterialNameMap | |
Simplygon::spSceneMesh | ReducedMesh | |
TArray<int32> | OutSectionIndices |
Return Type:
void