UPlatformEventsComponent

Inheritance Hierarchy

Syntax

class UPlatformEventsComponent : public UActorComponent

Remarks

Component to handle receiving notifications from the OS about platform events.

Variables

Name Description

Public variable

FPlatformEventD ...

 

PlatformChangedToLaptopModeDelegate

This is called when a convertible laptop changed into laptop mode.

Public variable

FPlatformEventD ...

 

PlatformChangedToTabletModeDelegate

This is called when a convertible laptop changed into tablet mode.

Constructors

Name Description

Public function

UPlatformEventsComponent

(
    const FObjectInitializer & ObjectIn...
)

Functions

Name Description

Public function

bool

 

IsInLaptopMode()

Check whether a convertible laptop is laptop mode.

Public function

bool

 

IsInTabletMode()

Check whether a convertible laptop is laptop mode.

Public function

bool

 

SupportsConvertibleLaptops()

Check whether the platform supports convertible laptops.

Overridden from UActorComponent

Name Description

Public function Virtual

void

 

OnRegister()

Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called.

Public function Virtual

void

 

OnUnregister()

Called when a component is unregistered.

Classes

Name

Description

Public class

FPlatformEventDelegate

References

Module

Engine

Header

Runtime/Engine/Classes/Components/PlatformEventsComponent.h