![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <DatasmithSceneElementsImpl.h>
Inheritance diagram for FDatasmithMeshElementImpl:Protected Member Functions | |
| virtual int32 | GetLODCount () const override |
| virtual void | SetLODCount (int32 Count) override |
Protected Member Functions inherited from FDatasmithElementImpl< IDatasmithMeshElement > | |
| virtual bool | IsSubTypeInternal (uint64 InSubType) const |
| EDatasmithElementType | GetElementType () const |
| uint64 | GetSubType () const |
Additional Inherited Members | |
Protected Attributes inherited from FDatasmithElementImpl< IDatasmithMeshElement > | |
| FMD5Hash | ElementHash |
| DirectLink::FParameterStore | Store |
| TReflected< EDatasmithElementType, uint64 > | Type |
| TReflected< uint64 > | Subtype |
| TReflected< FString > | Name |
| TReflected< FString > | Label |
|
explicit |
Return a MD5 hash of the content of the Element. Used to quickly identify Element with identical content.
| bForce | Force recalculation of the hash if it was already cached |
Reimplemented from FDatasmithElementImpl< IDatasmithMeshElement >.
Get the total surface area
Implements IDatasmithMeshElement.
Get the bounding box depth
Implements IDatasmithMeshElement.
Get the bounding box dimension of the mesh, in a vector in the form of (Width, Height, Depth )
Implements IDatasmithMeshElement.
Get the output filename, it can be absolute or relative to the scene file
Implements IDatasmithMeshElement.
Return a MD5 hash of the content of the Mesh Element. Used in CalculateElementHash to quickly identify Element with identical content
Implements IDatasmithMeshElement.
Get the bounding box height
Implements IDatasmithMeshElement.
Get the UV channel that will be used for the lightmap
Implements IDatasmithMeshElement.
Get the source UV channel that will be used at import to generate the lightmap UVs
Implements IDatasmithMeshElement.
Get number of LODs
Implements IDatasmithMeshElement.
Get the name of the material mapped to slot Id, return nullptr if slot isn't mapped
Implements IDatasmithMeshElement.
|
overridevirtual |
Get the material mapping for slot Index
Implements IDatasmithMeshElement.
|
overridevirtual |
Implements IDatasmithMeshElement.
|
overridevirtual |
Get the number of material slot set on this mesh
Implements IDatasmithMeshElement.
Get the bounding box width
Implements IDatasmithMeshElement.
|
inlineoverridevirtual |
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 |
Implements IDatasmithMeshElement.
Set the output filename, it can be absolute or relative to the scene file
Implements IDatasmithMeshElement.
Set the MD5 hash of the current mesh file. This should be a hash of its content.
Implements IDatasmithMeshElement.
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
Implements IDatasmithMeshElement.
|
inlineoverridevirtual |
Set the source UV channel that will be used at import to generate the lightmap UVs
Implements IDatasmithMeshElement.
Set number of LODs
Implements IDatasmithMeshElement.
|
overridevirtual |
Set the material slot Id to use the material MaterialPathName
Implements IDatasmithMeshElement.