Class PlatformEventsComponent
Component to handle receiving notifications from the OS about platform events.
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class PlatformEventsComponent : ActorComponentProperties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static PlatformEventsComponent DefaultObject { get; }Property Value
| Type | Description | 
|---|---|
| PlatformEventsComponent | 
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }Property Value
| Type | Description | 
|---|---|
| Class | 
Methods
| Improve this Doc View SourceIsInLaptopMode()
Check whether a convertible laptop is laptop mode.
Declaration
public bool IsInLaptopMode()Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Remarks
@return true if in laptop mode, false otherwise or if not a convertible laptop. @see IsInTabletMode, SupportsConvertibleLaptops
IsInTabletMode()
Check whether a convertible laptop is laptop mode.
Declaration
public bool IsInTabletMode()Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Remarks
@return true if in tablet mode, false otherwise or if not a convertible laptop. @see IsInLaptopMode, SupportsConvertibleLaptops
New(UObject, Name)
Spawn an object of this class
Declaration
public static PlatformEventsComponent New(UObject obj = null, Name name = default(Name))Parameters
| Type | Name | Description | 
|---|---|---|
| UObject | obj | |
| Name | name | 
Returns
| Type | Description | 
|---|---|
| PlatformEventsComponent | 
SupportsConvertibleLaptops()
Check whether the platform supports convertible laptops.
Declaration
public bool SupportsConvertibleLaptops()Returns
| Type | Description | 
|---|---|
| System.Boolean | 
Remarks
Note: This does not necessarily mean that the platform is a convertible laptop. For example, convertible laptops running Windows 7 or older will return false, and regular laptops running Windows 8 or newer will return true.
@return true for convertible laptop platforms, false otherwise. @see IsInLaptopMode, IsInTabletMode
Operators
| Improve this Doc View SourceImplicit(IntPtr to PlatformEventsComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator PlatformEventsComponent(IntPtr p)Parameters
| Type | Name | Description | 
|---|---|---|
| System.IntPtr | p | 
Returns
| Type | Description | 
|---|---|
| PlatformEventsComponent |