Class GameViewportClient
A game viewport (FViewport) is a high-level abstract interface for the platform specific rendering, audio, and input subsystems.
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class GameViewportClient : ScriptViewportClient
Remarks
GameViewportClient is the engine's interface to a game viewport. Exactly one GameViewportClient is created for each instance of the game. The only case (so far) where you might have a single instance of Engine, but multiple instances of the game (and thus multiple GameViewportClients) is when you have more than one PIE window running.
Responsibilities: propagating input events to the global interactions list
@see UGameViewportClient
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static GameViewportClient DefaultObject { get; }
Property Value
Type | Description |
---|---|
GameViewportClient |
GameInstance
Game Instance
Declaration
public GameInstance GameInstance { get; set; }
Property Value
Type | Description |
---|---|
GameInstance |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
ViewportConsole
The viewport's console. Might be null on consoles
Declaration
public Console ViewportConsole { get; set; }
Property Value
Type | Description |
---|---|
Console |
World
The relative world context for this viewport
Declaration
public World World { get; set; }
Property Value
Type | Description |
---|---|
World |
Methods
| Improve this Doc View SourceNew(UObject, Name)
Spawn an object of this class
Declaration
public static GameViewportClient New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
GameViewportClient |
Operators
| Improve this Doc View SourceImplicit(IntPtr to GameViewportClient)
Convert from IntPtr to UObject
Declaration
public static implicit operator GameViewportClient(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
GameViewportClient |