UFont::GetCharHorizontalOffset

Gets the horizontal distance from the origin to the left most border of the given character

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/Engine/Font.h

Include

#include "Engine/Font.h"

Source

/Engine/Source/Runtime/Engine/Private/Font.cpp

Syntax

int16 GetCharHorizontalOffset
(
    TCHAR InCh
) const

Remarks

Gets the horizontal distance from the origin to the left most border of the given character

Returns

The offset value

Parameters

Parameter

Description

InCh

the character to get the offset for

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