Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos > API/Runtime/InteractiveToolsFramework/BaseGizmos/UE__GizmoRenderi-_1
References
| Module | InteractiveToolsFramework |
| Header | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/GizmoRenderingUtil.h |
| Include | #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
)
}
}
Remarks
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.