Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UMaterialInterface * UE::GizmoRenderingUtil::GetDefaultGizmoComponentMaterial
(
const FLinearColor& Color, |
Gets a custom material suitable to use for gizmo components. | BaseGizmos/GizmoRenderingUtil.h | |
UMaterialInterface * UE::GizmoRenderingUtil::GetDefaultGizmoComponentMaterial
(
const FLinearColor& Color, |
Like the other overload, but with additional parameters. | BaseGizmos/GizmoRenderingUtil.h |
UE::GizmoRenderingUtil::GetDefaultGizmoComponentMaterial(const FLinearColor &, UObject *)
Description
Gets a custom material suitable to use for gizmo components. The material is drawn on top of opaque geometry with dithering for portions behind opaque materials, but uses the custom depth buffer to properly occlude itself. Components using this material should set bRenderCustomDepth to true so they can occlude other gizmo elements. It is also suggested that TranslucencySortPriority be set to something like UE::GizmoRenderingUtil::GIZMO_TRANSLUCENCY_SORT_PRIORITY so that the component is drawn on top of other translucent materials.
| Name | UE::GizmoRenderingUtil::GetDefaultGizmoComponentMaterial |
| 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
{
UMaterialInterface * UE::GizmoRenderingUtil::GetDefaultGizmoComponentMaterial
(
const FLinearColor & Color,
UObject * Outer
)
}
}
Parameters
| Name | Remarks |
|---|---|
| Outer | Object to set as outer for the material instance. Typically can be left as nullptr to use transient package. |
UE::GizmoRenderingUtil::GetDefaultGizmoComponentMaterial(const FLinearColor &, const FDefaultGizmoMaterialExtraParams &, UObject *)
Description
Like the other overload, but with additional parameters.
| Name | UE::GizmoRenderingUtil::GetDefaultGizmoComponentMaterial |
| 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
{
UMaterialInterface * UE::GizmoRenderingUtil::GetDefaultGizmoComponentMaterial
(
const FLinearColor & Color,
const FDefaultGizmoMaterialExtraParams & Params,
UObject * Outer
)
}
}