Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/UViewAdjustedStaticMeshGizmoComp-
Description
The render visibility function is an optional function that can hide the component based on view information (for instance to hide an arrow gizmo when looking directly down the arrow). It must be callable from both the game and the render threads (for line traces and rendering).
| Name | SetRenderVisibilityFunction |
| Type | function |
| Header File | /Engine/Source/Runtime/InteractiveToolsFramework/Public/BaseGizmos/ViewAdjustedStaticMeshGizmoComponent.h |
| Include Path | #include "BaseGizmos/ViewAdjustedStaticMeshGizmoComponent.h" |
| Source | /Engine/Source/Runtime/InteractiveToolsFramework/Private/BaseGizmos/ViewAdjustedStaticMeshGizmoComponent.cpp |
void SetRenderVisibilityFunction
(
TFunction < bool &View, const FTransform &ComponentToWorld)> RenderVisibilityFunc
)