Navigation
API > API/Runtime > API/Runtime/InteractiveToolsFramework > API/Runtime/InteractiveToolsFramework/BaseGizmos
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 GizmoRenderingUtil
{
float GizmoRenderingUtil&58;&58;CalculateViewDependentScaleAndFlatten
&40;
const FSceneView &42; View,
const FVector & Location,
const float Scale,
FVector & OutWorldFlattenScale
&41;
}
OutWorldFlattenScale vector to be applied in world space, can be used to flatten excluded dimension in orthographic views as it reverses the scale in that dimension.