UDatasmithSceneElementBase::GetMeshByPathName

Find in the Datasmith scene the MeshElement that correspond to the mesh path name.

Windows
MacOS
Linux

References

Module

DatasmithImporter

Header

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Public/ObjectElements/DatasmithUSceneElement.h

Include

#include "ObjectElements/DatasmithUSceneElement.h"

Source

/Engine/Plugins/Enterprise/DatasmithImporter/Source/DatasmithImporter/Private/ObjectElements/DatasmithUSceneElement.cpp

Syntax

[UFUNCTION](Programming/UnrealArchitecture/Reference/Functions)(BlueprintCallable, Category="Datasmith | Scene")
UDatasmithMeshElement * GetMeshByPathName
(
    const FString & MeshPathName
)

Remarks

Find in the Datasmith scene the MeshElement that correspond to the mesh path name. The function will return an invalid MeshElement, if the MeshPathName is empty or if it's not relative to the Datasmith scene or if it's not found.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss