AVirtualCameraPawnBase::LeftPadWithZeros

Convenience function to leftpad numbers with zeros

Choose your operating system:

Windows

macOS

Linux

References

Module

VirtualCamera

Header

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Public/VirtualCameraPawnBase.h

Include

#include "VirtualCameraPawnBase.h"

Source

/Engine/Plugins/Experimental/VirtualCamera/Source/VirtualCamera/Private/VirtualCameraPawnBase.cpp

Syntax

FString LeftPadWithZeros
(
    int32 InNumber,
    int32 MinNumberOfCharacters
) const

Remarks

Convenience function to leftpad numbers with zeros

Returns

The input number padded to be at least MinNumberOfCharacters in length

Parameters

Parameter

Description

InNumber

The input number to be padded

MinNumberOfCharacters

The minimum number of characters in the returned string