| UObjectBase
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Components/PlatformEventsComponent.h |
Include |
#include "Components/PlatformEventsComponent.h" |
class UPlatformEventsComponent : public UActorComponent
Component to handle receiving notifications from the OS about platform events.
Name | Description | ||
---|---|---|---|
|
PlatformChangedToLaptopModeDelegate |
This is called when a convertible laptop changed into laptop mode. |
|
|
PlatformChangedToTabletModeDelegate |
This is called when a convertible laptop changed into tablet mode. |
Name | Description | |
---|---|---|
|
UPlatformEventsComponent ( |
Name | Description | ||
---|---|---|---|
|
IsInLaptopMode() |
Check whether a convertible laptop is laptop mode. |
|
|
IsInTabletMode() |
Check whether a convertible laptop is laptop mode. |
|
|
SupportsConvertibleLaptops() |
Check whether the platform supports convertible laptops. |
Name | Description | ||
---|---|---|---|
|
OnRegister() |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. |
|
|
OnUnregister() |
Called when a component is unregistered. |
Name |
Description |
|
---|---|---|
|
FPlatformEventDelegate |