UARUtilitiesFunctionLibrary::GetUVOffset

Return the UV offset by trying to fit a specific texture size onto the view (cropping)

Windows
MacOS
Linux

References

Module

ARUtilities

Header

/Engine/Plugins/Runtime/AR/ARUtilities/Source/ARUtilities/Public/ARUtilitiesFunctionLibrary.h

Include

#include "ARUtilitiesFunctionLibrary.h"

Source

/Engine/Plugins/Runtime/AR/ARUtilities/Source/ARUtilities/Private/ARUtilitiesFunctionLibrary.cpp

Syntax

static FVector2D GetUVOffset
(
    const FVector2D & ViewSize,
    const FVector2D & TextureSize
)

Remarks

Return the UV offset by trying to fit a specific texture size onto the view (cropping)

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