| UObjectBase
|
Module |
|
Header |
/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h |
Include |
#include "ObjectElements/DatasmithUObjectElements.h" |
[UCLASS](Programming/UnrealArchitecture/Reference/Classes#classdeclaration)()
class UDatasmithMeshElement : public UDatasmithObjectElement
UDatasmithMeshElement defines an actual geometry.
Name | Description | ||
---|---|---|---|
|
float |
GetBoundingBoxDepth() |
Get the bounding box depth |
|
float |
GetBoundingBoxHeight() |
Get the bounding box height |
|
GetBoundingBoxSize() |
Get the bounding box represented by a Vector. X is Width, Y is Height, Z is Depth. |
|
|
float |
GetBoundingBoxWidth() |
Get the bounding box width |
|
GetDatasmithMeshElement() |
||
|
GetFile() |
Get the output filename, it can be absolute or relative to the scene file |
|
|
float |
GetLightMapArea() |
Get the total surface area |
|
GetLightmapCoordinateIndex() |
Get the UV channel that will be used for the lightmap |
|
|
GetLightmapSourceUV() |
Get the source UV channel that will be used at import to generate the lightmap UVs |
|
|
GetMaterial ( |
Get the material name in the material slot SlotId |
|
|
SetDatasmithMeshElement ( |
||
|
SetLightmapCoordinateIndex ( |
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 |
|
|
SetLightmapSourceUV ( |
Set the source UV channel that will be used at import to generate the lightmap UVs |
|
|
SetMaterial |
Set the material name to associate with slot SlotId |
Name | Description | ||
---|---|---|---|
|
GetIDatasmithElement() |
TODO: They are not covariant because of the TWeakPtr, can't override in child. |
|
|
IsElementValid() |
Is the Element still valid for the Datasmith Scene |