Class Viewport
Viewport
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: UE4.UMG
Assembly: UE4DotNet.dll
Syntax
public class Viewport : ContentWidget
Properties
| Improve this Doc View SourceBackgroundColor
Background Color
Declaration
public LinearColor BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
LinearColor |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static Viewport DefaultObject { get; }
Property Value
Type | Description |
---|---|
Viewport |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
Methods
| Improve this Doc View SourceGetViewLocation()
Get View Location
Declaration
public Vector GetViewLocation()
Returns
Type | Description |
---|---|
Vector |
GetViewportWorld()
Get Viewport World
Declaration
public World GetViewportWorld()
Returns
Type | Description |
---|---|
World |
GetViewRotation()
Get View Rotation
Declaration
public Rotator GetViewRotation()
Returns
Type | Description |
---|---|
Rotator |
New(UObject, Name)
Spawn an object of this class
Declaration
public static Viewport New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
Viewport |
SetViewLocation(Vector)
Set View Location
Declaration
public void SetViewLocation(Vector Location)
Parameters
Type | Name | Description |
---|---|---|
Vector | Location |
SetViewRotation(Rotator)
Set View Rotation
Declaration
public void SetViewRotation(Rotator Rotation)
Parameters
Type | Name | Description |
---|---|---|
Rotator | Rotation |
Spawn(SubclassOf<Actor>)
Spawn
Declaration
public Actor Spawn(SubclassOf<Actor> ActorClass)
Parameters
Type | Name | Description |
---|---|---|
SubclassOf<Actor> | ActorClass |
Returns
Type | Description |
---|---|
Actor |
Operators
| Improve this Doc View SourceImplicit(IntPtr to Viewport)
Convert from IntPtr to UObject
Declaration
public static implicit operator Viewport(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
Viewport |