Navigation
API > API/Plugins > API/Plugins/DatasmithImporter > API/Plugins/DatasmithImporter/UDatasmithMeshActorElement
Description
Get the Bounding Box of the Actor as a Vector. X is Width, Y is Height, Z is Depth. The value will are taken from the MeshElement and are factored by the Actor Scale. Bounding Box size can only be calculated if the Mesh can be found.
| Name | GetBoundingBoxSize |
| Type | function |
| Header File | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUObjectElements.h |
| Include Path | #include "ObjectElements/DatasmithUObjectElements.h" |
| Source | /Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/ObjectElements/DatasmithUObjectElements.cpp |
UFUNCTION (BlueprintCallable, Category="Datasmith | Element")
FVector GetBoundingBoxSize() const