# class FSimplygonDataConverter

No description available.

# Methods (public)

Method Description
AddSimplygonMaterials Add Simplygon materials to a simplygon scene by converting from flattened materials
CreateFlattenMaterial Create Flatten material by converting from simplygon materials contained in the scene
CreateGeometryFromMeshDescription No description available.
CreateGeometryFromSkeletalLODModel No description available.
CreateGeometryFromSkeletalLODModel No description available.
CreateMaterialCasters Create material casters in the given pipeline based on properties in the input materials
CreateMeshDescriptionFromGeometry No description available.
CreateSkeletalHierarchy No description available.
CreateSkeletalLODModelFromGeometry No description available.
GetMaterialMaps No description available.
IsSceneCollapse No description available.
OutputDebugGeometry No description available.

# AddSimplygonMaterials

# Syntax

bool AddSimplygonMaterials(Simplygon::ISimplygon *, Simplygon::spScene, const TArray<struct FFlattenMaterial> &, bool);

# Parameters

Type Name Description
Simplygon::ISimplygon SDK - Simplygon API which you can get from the Simplygon module.
Simplygon::spScene Scene - The scene where you want to add materials.
TArray< FFlattenMaterial> InputMaterials - Source flattened materials which will be converted to simplygon materials and added to Scene.
bool bReleaseInputMaterials - If true, will remove InputMaterials color data to free memory.

Return Type: bool

# CreateFlattenMaterial

# Syntax

bool CreateFlattenMaterial(Simplygon::spScene, struct FFlattenMaterial &, int32);

# Parameters

Type Name Description
Simplygon::spScene Scene - The scene which contains materials.
FFlattenMaterial OutMaterial - Output material.
int32 OutputMaterialIndex - Default 0, from what material output to convert from.

Return Type: bool

# CreateGeometryFromMeshDescription

# Syntax

Simplygon::spGeometryData CreateGeometryFromMeshDescription(Simplygon::ISimplygon *, const FMeshDescription &, const TMap<FName, int32> &, const TArray<FBox2D> &, const TArray<FVector2D> &, bool);

# Parameters

Type Name Description
Simplygon::ISimplygon SDK
FMeshDescription Mesh
TMap<FName, int32> MaterialMap
TArray<FBox2D> TextureBounds
TArray<FVector2D> InTexCoords
bool SetVertexWeights

Return Type: Simplygon::spGeometryData

# CreateGeometryFromSkeletalLODModel

# Syntax

Simplygon::spGeometryData CreateGeometryFromSkeletalLODModel(Simplygon::ISimplygon *, Simplygon::spScene, const int &, const TArray<Simplygon::rid> &, const TArray<FMatrix> &, const int32);

# Parameters

Type Name Description
Simplygon::ISimplygon SDK
Simplygon::spScene Scene
int LODModel
TArray<Simplygon::rid> BoneIDs
TArray<FMatrix> BoneMatrices
int32 LODIndex

Return Type: Simplygon::spGeometryData

# CreateGeometryFromSkeletalLODModel

# Syntax

Simplygon::spGeometryData CreateGeometryFromSkeletalLODModel(Simplygon::ISimplygon *, Simplygon::spScene &, const int &, const TArray<Simplygon::rid> &, const TArray<FMatrix> &, const TArray<FBox2D> &, const TArray<FVector2D> &);

# Parameters

Type Name Description
Simplygon::ISimplygon SDK
Simplygon::spScene Scene
int LODModel
TArray<Simplygon::rid> BoneIDs
TArray<FMatrix> BoneMatrices
TArray<FBox2D> TextureBounds
TArray<FVector2D> InTexCoords

Return Type: Simplygon::spGeometryData

# CreateMaterialCasters

# Syntax

void CreateMaterialCasters(Simplygon::ISimplygon *, Simplygon::IPipeline *, const TArray<FFlattenMaterial> &);

# Parameters

Type Name Description
Simplygon::ISimplygon SDK
Simplygon::IPipeline Pipeline
TArray<FFlattenMaterial> InputMaterials

Return Type: void

# CreateMeshDescriptionFromGeometry

# Syntax

void CreateMeshDescriptionFromGeometry(const Simplygon::spGeometryData &, const TMap<int32, FName> &, FMeshDescription &, bool);

# Parameters

Type Name Description
Simplygon::spGeometryData GeometryData
TMap<int32, FName> MaterialMap
FMeshDescription OutMesh
bool bHasBakedMaterials

Return Type: void

# CreateSkeletalHierarchy

# Syntax

void CreateSkeletalHierarchy(Simplygon::ISimplygon *, Simplygon::spScene &, const int &, TArray<Simplygon::rid> &);

# Parameters

Type Name Description
Simplygon::ISimplygon SDK
Simplygon::spScene Scene
int Skeleton
TArray<Simplygon::rid> OutBoneTableIDs

Return Type: void

# CreateSkeletalLODModelFromGeometry

# Syntax

void CreateSkeletalLODModelFromGeometry(const Simplygon::spGeometryData &, const int &, int *, bool);

# Parameters

Type Name Description
Simplygon::spGeometryData GeometryData
int RefSkeleton
int NewModel
bool bHasBakedMaterials

Return Type: void

# GetMaterialMaps

# Syntax

void GetMaterialMaps(Simplygon::ISimplygon *, const FMeshDescription &, TMap<FName, int32> &, TMap<int32, FName> &);

# Parameters

Type Name Description
Simplygon::ISimplygon sdk
FMeshDescription Mesh
TMap<FName, int32> OutMaterialNameToIndex
TMap<int32, FName> OutMaterialIndexToName

Return Type: void

# IsSceneCollapse

# Syntax

bool IsSceneCollapse(Simplygon::spPipeline);

# Parameters

Type Name Description
Simplygon::spPipeline Pipeline

Return Type: bool

# OutputDebugGeometry

# Syntax

void OutputDebugGeometry(Simplygon::ISimplygon *, Simplygon::spScene &, FString);

# Parameters

Type Name Description
Simplygon::ISimplygon SDK
Simplygon::spScene Scene
FString ouputFileName

Return Type: void