Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/Components
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UActorComponent
- UPlatformEventsComponent
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/Components/PlatformEventsComponent.h |
| Include | #include "Components/PlatformEventsComponent.h" |
Syntax
UCLASS (ClassGroup=Utility, HideCategories=(Activation, "Components|Activation", Collision),
Meta=(BlueprintSpawnableComponent), MinimalAPI)
class UPlatformEventsComponent : public UActorComponent
Remarks
Component to handle receiving notifications from the OS about platform events.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FPlatformEventDelegate | PlatformChangedToLaptopModeDelegate | This is called when a convertible laptop changed into laptop mode. | |
| FPlatformEventDelegate | PlatformChangedToTabletModeDelegate | This is called when a convertible laptop changed into tablet mode. |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UPlatformEventsComponent
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | Check whether a convertible laptop is laptop mode. | ||
| bool | Check whether a convertible laptop is laptop mode. | ||
| bool | Check whether the platform supports convertible laptops. |
Overridden from UActorComponent
| Type | Name | Description | |
|---|---|---|---|
| void | OnRegister () |
Called when a component is registered, after Scene is set, but before CreateRenderState_Concurrent or OnCreatePhysicsState are called. | |
| void | OnUnregister () |
Called when a component is unregistered. |
Classes
| Type | Name | Description | |
|---|---|---|---|
| FPlatformEventDelegate |