GizmoRenderingUtil::CalculateLocalPixelToWorldScale

This is a local estimate and is increasingly incorrect as the 3D point gets further from Location

Windows
MacOS
Linux

Warnings

  • This is a local estimate and is increasingly incorrect as the 3D point gets further from Location

References

Module

InteractiveToolsFramework

Header

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Public/BaseGizmos/GizmoRenderingUtil.h

Include

#include "BaseGizmos/GizmoRenderingUtil.h"

Source

/Engine/Source/Runtime/Experimental/InteractiveToolsFramework/Private/BaseGizmos/GizmoRenderingUtil.cpp

Syntax

namespace GizmoRenderingUtil
{
    float GizmoRenderingUtil::CalculateLocalPixelToWorldScale
    (
        const FSceneView * View,
        const FVector & Location
    )
}

Remarks

This is a local estimate and is increasingly incorrect as the 3D point gets further from Location

Returns

Conversion factor between pixel and world-space coordinates at 3D point Location in View.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss