FFrameNumber

Typesafe 32-bit signed frame number.

Windows
MacOS
Linux

References

Module

Core

Header

/Engine/Source/Runtime/Core/Public/Misc/FrameNumber.h

Include

#include "Misc/FrameNumber.h"

Syntax

struct FFrameNumber

Remarks

Typesafe 32-bit signed frame number. Defined in this way to prevent erroneous float->int conversions and afford type-safe operator overloading.

Variables

Name Description

Public variable

int32

 

Value

The value of the frame number

Constructors

Name Description

Public function

FFrameNumber()

Public function

FFrameNumber

(
    T InValue
)

Implicit construction from a signed integer frame number, whilst disallowing any construction from other types.

Functions

Name Description

Public function

bool

 

Serialize

(
    FArchive & Ar
)

Operators

Name Description

Public function

FFrameNumber ...

 

operator--()

Public function

FFrameNumber

 

operator--

(
    int32
)

Public function

FFrameNumber ...

 

operator%=

(
    FFrameNumber RHS
)

Public function

FFrameNumber ...

 

operator++()

Public function

FFrameNumber

 

operator++

(
    int32
)

Public function

FFrameNumber ...

 

operator+=

(
    FFrameNumber RHS
)

Public function

FFrameNumber ...

 

operator-=

(
    FFrameNumber RHS
)

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