Class StereoLayerComponent
A geometry layer within the stereo rendered viewport.
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class StereoLayerComponent : SceneComponent
Properties
| Improve this Doc View SourcebLiveTexture
Declaration
public bool bLiveTexture { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bNoAlphaChannel
Declaration
public bool bNoAlphaChannel { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bQuadPreserveTextureRatio
Declaration
public bool bQuadPreserveTextureRatio { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
bSupportsDepth
Declaration
public bool bSupportsDepth { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
CylinderHeight
Height of the stereo layer cylinder *
Declaration
public int CylinderHeight { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
CylinderOverlayArc
Arc angle for the stereo layer cylinder *
Declaration
public float CylinderOverlayArc { get; }
Property Value
Type | Description |
---|---|
System.Single |
CylinderRadius
Radial size of the rendered stereo layer cylinder *
Declaration
public float CylinderRadius { get; }
Property Value
Type | Description |
---|---|
System.Single |
DefaultObject
Get UE4 Default Object for this Class
Declaration
public static StereoLayerComponent DefaultObject { get; }
Property Value
Type | Description |
---|---|
StereoLayerComponent |
LeftTexture
Texture displayed on the stereo layer for left eye, if stereoscopic textures are supported on the platform *
Declaration
public Texture LeftTexture { get; }
Property Value
Type | Description |
---|---|
Texture |
Priority
Render priority among all stereo layers, higher priority render on top of lower priority *
Declaration
public int Priority { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
QuadSize
Size of the rendered stereo layer quad *
Declaration
public Vector2D QuadSize { get; }
Property Value
Type | Description |
---|---|
Vector2D |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
StereoLayerShape
Specifies which type of layer it is. Note that some shapes will be supported only on certain platforms! *
Declaration
public byte StereoLayerShape { get; }
Property Value
Type | Description |
---|---|
System.Byte |
StereoLayerType
Specifies how and where the quad is rendered to the screen *
Declaration
public byte StereoLayerType { get; }
Property Value
Type | Description |
---|---|
System.Byte |
Texture
Texture displayed on the stereo layer (is stereocopic textures are supported on the platfrom and more than one texture is provided, this will be the right eye) *
Declaration
public Texture Texture { get; }
Property Value
Type | Description |
---|---|
Texture |
UVRect
UV coordinates mapped to the quad face *
Declaration
public Box2D UVRect { get; }
Property Value
Type | Description |
---|---|
Box2D |
Methods
| Improve this Doc View SourceGetPriority()
@return the render priority
Declaration
public int GetPriority()
Returns
Type | Description |
---|---|
System.Int32 |
GetQuadSize()
@return the height and width of the rendered quad
Declaration
public Vector2D GetQuadSize()
Returns
Type | Description |
---|---|
Vector2D |
GetTexture()
@return the texture mapped to the stereo layer quad
Declaration
public Texture GetTexture()
Returns
Type | Description |
---|---|
Texture |
GetUVRect()
@return the UV coordinates mapped to the quad face
Declaration
public Box2D GetUVRect()
Returns
Type | Description |
---|---|
Box2D |
MarkTextureForUpdate()
Manually mark the stereo layer texture for updating
Declaration
public void MarkTextureForUpdate()
New(UObject, Name)
Spawn an object of this class
Declaration
public static StereoLayerComponent New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
StereoLayerComponent |
SetPriority(Int32)
Change the layer's render priority, higher priorities render on top of lower priorities @
Declaration
public void SetPriority(int InPriority)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | InPriority |
Remarks
param InPriority: Priority value
SetQuadSize(Vector2D)
Change the quad size.
Declaration
public void SetQuadSize(Vector2D InQuadSize)
Parameters
Type | Name | Description |
---|---|---|
Vector2D | InQuadSize |
Remarks
This is the unscaled height and width, before component scale is applied. @param InQuadSize: new quad size.
SetTexture(Texture)
Change the texture displayed on the stereo layer quad @
Declaration
public void SetTexture(Texture InTexture)
Parameters
Type | Name | Description |
---|---|---|
Texture | InTexture |
Remarks
param InTexture: new Texture2D
SetUVRect(Box2D)
Change the UV coordinates mapped to the quad face @
Declaration
public void SetUVRect(Box2D InUVRect)
Parameters
Type | Name | Description |
---|---|---|
Box2D | InUVRect |
Remarks
param InUVRect: Min and Max UV coordinates
Operators
| Improve this Doc View SourceImplicit(IntPtr to StereoLayerComponent)
Convert from IntPtr to UObject
Declaration
public static implicit operator StereoLayerComponent(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
StereoLayerComponent |