Navigation
API > API/Plugins > API/Plugins/ModelingComponents
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UE::Geometry::FDynamicMesh3 UE::ToolTarget::GetDynamicMeshCopy
(
UToolTarget* Target, |
Fetch a DynamicMesh3 representing the given ToolTarget. | ModelingToolTargetUtil.h | |
UE::Geometry::FDynamicMesh3 UE::ToolTarget::GetDynamicMeshCopy
(
UToolTarget* Target, |
Fetch a DynamicMesh3 representing the given ToolTarget. | ModelingToolTargetUtil.h |
UE::ToolTarget::GetDynamicMeshCopy(UToolTarget *, bool)
Description
Fetch a DynamicMesh3 representing the given ToolTarget. This may be a conversion of the output of GetMeshDescription(). This function returns a copy, so the caller can take ownership of this Mesh.
| Name | UE::ToolTarget::GetDynamicMeshCopy |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingToolTargetUtil.h |
| Include Path | #include "ModelingToolTargetUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ModelingToolTargetUtil.cpp |
namespace UE
{
namespace ToolTarget
{
UE::Geometry::FDynamicMesh3 UE::ToolTarget::GetDynamicMeshCopy
(
UToolTarget * Target,
bool bWantMeshTangents
)
}
}
a created DynamicMesh3, which may be empty if the Target doesn't have a mesh
Parameters
| Name | Remarks |
|---|---|
| bWantMeshTangents | if true, tangents will be returned if the target has them available. This may require that they be auto-calculated in some cases (which may be expensive) |
UE::ToolTarget::GetDynamicMeshCopy(UToolTarget *, const FGetMeshParameters &)
Description
Fetch a DynamicMesh3 representing the given ToolTarget. This may be a conversion of the output of GetMeshDescription(). This function returns a copy, so the caller can take ownership of this Mesh.
| Name | UE::ToolTarget::GetDynamicMeshCopy |
| Type | function |
| Header File | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Public/ModelingToolTargetUtil.h |
| Include Path | #include "ModelingToolTargetUtil.h" |
| Source | /Engine/Plugins/Runtime/MeshModelingToolset/Source/ModelingComponents/Private/ModelingToolTargetUtil.cpp |
namespace UE
{
namespace ToolTarget
{
UE::Geometry::FDynamicMesh3 UE::ToolTarget::GetDynamicMeshCopy
(
UToolTarget * Target,
const FGetMeshParameters & InGetMeshParams
)
}
}
a created DynamicMesh3, which may be empty if the Target doesn't have a mesh
Parameters
| Name | Remarks |
|---|---|
| InGetMeshParams | to specify various options like specific LOD and/or tangents on the returned mesh. if InGetMeshParams.bWantMeshTangents is true, tangents will be returned if the target has them available. This may require that they be auto-calculated in some cases (which may be expensive) |