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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback