Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UViewAdjustedStaticMeshGizmoComponent * UE::GizmoRenderingUtil::CreateDefaultMaterialGizmoMeshComponent
(
UStaticMesh* Mesh, |
Helper that creates a component with the default gizmo material and sets up the component-side properties that are needed for it to properly work (translucency sort priority, etc). | BaseGizmos/GizmoRenderingUtil.h | |
UViewAdjustedStaticMeshGizmoComponent * UE::GizmoRenderingUtil::CreateDefaultMaterialGizmoMeshComponent
(
UStaticMesh* Mesh, |
Overload that takes a gizmo manager to get the view context from that. | BaseGizmos/GizmoRenderingUtil.h |
UE::GizmoRenderingUtil::CreateDefaultMaterialGizmoMeshComponent(UStaticMesh , UGizmoViewContext , UObject *, const FLinearColor &, bool)
Description
Helper that creates a component with the default gizmo material and sets up the component-side properties that are needed for it to properly work (translucency sort priority, etc). This may not be necessary if your component is using some other gizmo material that doesn't require component-side flags.
| Name | UE::GizmoRenderingUtil::CreateDefaultMaterialGizmoMeshComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoRenderingUtil.h |
| Include Path | #include "BaseGizmos/GizmoRenderingUtil.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoRenderingUtil.cpp |
namespace UE
{
namespace GizmoRenderingUtil
{
UViewAdjustedStaticMeshGizmoComponent * UE::GizmoRenderingUtil::CreateDefaultMaterialGizmoMeshComponent
(
UStaticMesh * Mesh,
UGizmoViewContext * GizmoViewContext,
UObject * OwnerComponentOrActor,
const FLinearColor & Color,
bool bAddHoverMaterial
)
}
}
UE::GizmoRenderingUtil::CreateDefaultMaterialGizmoMeshComponent(UStaticMesh , UInteractiveGizmoManager , UObject *, const FLinearColor &, bool)
Description
Overload that takes a gizmo manager to get the view context from that.
| Name | UE::GizmoRenderingUtil::CreateDefaultMaterialGizmoMeshComponent |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoRenderingUtil.h |
| Include Path | #include "BaseGizmos/GizmoRenderingUtil.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/GizmoRenderingUtil.cpp |
namespace UE
{
namespace GizmoRenderingUtil
{
UViewAdjustedStaticMeshGizmoComponent * UE::GizmoRenderingUtil::CreateDefaultMaterialGizmoMeshComponent
(
UStaticMesh * Mesh,
UInteractiveGizmoManager * GizmoManager,
UObject * OwnerComponentOrActor,
const FLinearColor & Color,
bool bAddHoverMaterial
)
}
}