Mesh utils with assimp.
More...
#include <RRMeshUtils.h>
|
| static FRRMeshNodeData | ProcessMesh (aiMesh *InMesh) |
| |
| static void | ProcessMeshNode (aiNode *InNode, const aiScene *InScene, int InParentNodeIndex, int *InCurrentIndex, FRRMeshData &OutMeshData) |
| |
| static bool | ProcessTexture (aiMaterial *InMaterial, const aiTextureType InTextureType, const TCHAR *InTextureTypeName, const FString &InTextureBasePath, UMaterialInstanceDynamic *OutUEMaterial) |
| |
| static void | ProcessMaterial (aiMaterial *InMaterial, const FString &InMeshFilePath, FRRMeshData &OutMeshData) |
| |
| static FRRMeshData | LoadMeshFromFile (const FString &InMeshFilePath, Assimp::Importer &InMeshImporter, float InMeshScale=1.f) |
| |
◆ LoadMeshFromFile()
| static FRRMeshData URRMeshUtils::LoadMeshFromFile |
( |
const FString & |
InMeshFilePath, |
|
|
Assimp::Importer & |
InMeshImporter, |
|
|
float |
InMeshScale = 1.f |
|
) |
| |
|
static |
◆ ProcessMaterial()
| static void URRMeshUtils::ProcessMaterial |
( |
aiMaterial * |
InMaterial, |
|
|
const FString & |
InMeshFilePath, |
|
|
FRRMeshData & |
OutMeshData |
|
) |
| |
|
static |
◆ ProcessMesh()
◆ ProcessMeshNode()
| static void URRMeshUtils::ProcessMeshNode |
( |
aiNode * |
InNode, |
|
|
const aiScene * |
InScene, |
|
|
int |
InParentNodeIndex, |
|
|
int * |
InCurrentIndex, |
|
|
FRRMeshData & |
OutMeshData |
|
) |
| |
|
static |
- Note
- Use [int] instead of [int32 ,int64] due to the compatibility with Assimp's api
- Parameters
-
| InNode | |
| InScene | |
| InParentNodeIndex | |
| InCurrentIndex | |
| OutMeshData | |
◆ ProcessTexture()
| static bool URRMeshUtils::ProcessTexture |
( |
aiMaterial * |
InMaterial, |
|
|
const aiTextureType |
InTextureType, |
|
|
const TCHAR * |
InTextureTypeName, |
|
|
const FString & |
InTextureBasePath, |
|
|
UMaterialInstanceDynamic * |
OutUEMaterial |
|
) |
| |
|
static |
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/rapyutasimulationplugins/checkouts/spline_path/Source/RapyutaSimulationPlugins/Public/Core/RRMeshUtils.h