![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <IDatasmithSceneElements.h>
Inheritance diagram for IDatasmithMeshElement:Protected Member Functions | |
| virtual int32 | GetLODCount () const =0 |
| virtual void | SetLODCount (int32 Count)=0 |
Friends | |
| class | FDatasmithStaticMeshImporter |
IDatasmithMeshElement defines an actual geometry. It won't add any instance to your scene, you'll need IDatasmithMeshActorElement for this. Notice that several IDatasmithMeshActorElements could use the this geometry.
|
inlinevirtual |
Get the total surface area
Implemented in FDatasmithMeshElementImpl.
Get the bounding box depth
Implemented in FDatasmithMeshElementImpl.
Get the bounding box dimension of the mesh, in a vector in the form of (Width, Height, Depth )
Implemented in FDatasmithMeshElementImpl.
Get the output filename, it can be absolute or relative to the scene file
Implemented in FDatasmithMeshElementImpl.
Return a MD5 hash of the content of the Mesh Element. Used in CalculateElementHash to quickly identify Element with identical content
Implemented in FDatasmithMeshElementImpl.
Get the bounding box height
Implemented in FDatasmithMeshElementImpl.
Get the UV channel that will be used for the lightmap
Implemented in FDatasmithMeshElementImpl.
Get the source UV channel that will be used at import to generate the lightmap UVs
Implemented in FDatasmithMeshElementImpl.
Get number of LODs
Implemented in FDatasmithMeshElementImpl.
Get the name of the material mapped to slot Id, return nullptr if slot isn't mapped
Implemented in FDatasmithMeshElementImpl.
|
pure virtual |
Get the material mapping for slot Index
Implemented in FDatasmithMeshElementImpl.
|
pure virtual |
Implemented in FDatasmithMeshElementImpl.
Get the number of material slot set on this mesh
Implemented in FDatasmithMeshElementImpl.
Get the bounding box width
Implemented in FDatasmithMeshElementImpl.
|
pure virtual |
Set surface area and bounding box dimensions to be used on lightmap size calculation.
| InArea | total surface area |
| InWidth | bounding box width |
| InHeight | bounding box height |
| InDepth | bounding box depth |
Implemented in FDatasmithMeshElementImpl.
Set the output filename, it can be absolute or relative to the scene file
Implemented in FDatasmithMeshElementImpl.
Set the MD5 hash of the current mesh file. This should be a hash of its content.
Implemented in FDatasmithMeshElementImpl.
Set the UV channel that will be used for the lightmap Note: If the lightmap coordinate index is something greater than -1 it will make the importer skip the lightmap generation
Implemented in FDatasmithMeshElementImpl.
Set the source UV channel that will be used at import to generate the lightmap UVs
Implemented in FDatasmithMeshElementImpl.
Set number of LODs
Implemented in FDatasmithMeshElementImpl.
|
pure virtual |
Set the material slot Id to use the material MaterialPathName
Implemented in FDatasmithMeshElementImpl.
|
friend |