Class SceneCaptureComponentCube
Used to capture a 'snapshot' of the scene from a 6 planes and feed it to a render target.
Inheritance
Inherited Members
Namespace: UE4.Engine
Assembly: UE4DotNet.dll
Syntax
public class SceneCaptureComponentCube : SceneCaptureComponent
Properties
| Improve this Doc View SourceDefaultObject
Get UE4 Default Object for this Class
Declaration
public static SceneCaptureComponentCube DefaultObject { get; }
Property Value
Type | Description |
---|---|
SceneCaptureComponentCube |
IPD
IPD
Declaration
public float IPD { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
StaticClass
Get UE4 Class
Declaration
public static Class StaticClass { get; }
Property Value
Type | Description |
---|---|
Class |
TextureTarget
Temporary render target that can be used by the editor.
Declaration
public TextureRenderTargetCube TextureTarget { get; set; }
Property Value
Type | Description |
---|---|
TextureRenderTargetCube |
TextureTargetLeft
Omni-directional Stereo Capture If vr.
Declaration
public TextureRenderTargetCube TextureTargetLeft { get; set; }
Property Value
Type | Description |
---|---|
TextureRenderTargetCube |
Remarks
ODSCapture is enabled and both left, right and ODS render targets are set, we'll ignore the texture target and instead do an omni-directional stereo capture. Warped cube maps will be rendered into the left and right texture targets using the IPD property for stereo offset. We will then reconstruct a stereo lat-long with the left eye stacked on top of the right eye in the ODS target. See: https://developers.google.com/vr/jump/rendering-ods-content.pdf
TextureTargetODS
Texture Target ODS
Declaration
public TextureRenderTarget2D TextureTargetODS { get; set; }
Property Value
Type | Description |
---|---|
TextureRenderTarget2D |
TextureTargetRight
Texture Target Right
Declaration
public TextureRenderTargetCube TextureTargetRight { get; set; }
Property Value
Type | Description |
---|---|
TextureRenderTargetCube |
Methods
| Improve this Doc View SourceCaptureScene()
Render the scene to the texture target immediately.
Declaration
public void CaptureScene()
Remarks
This should not be used if bCaptureEveryFrame is enabled, or the scene capture will render redundantly.
New(UObject, Name)
Spawn an object of this class
Declaration
public static SceneCaptureComponentCube New(UObject obj = null, Name name = default(Name))
Parameters
Type | Name | Description |
---|---|---|
UObject | obj | |
Name | name |
Returns
Type | Description |
---|---|
SceneCaptureComponentCube |
Operators
| Improve this Doc View SourceImplicit(IntPtr to SceneCaptureComponentCube)
Convert from IntPtr to UObject
Declaration
public static implicit operator SceneCaptureComponentCube(IntPtr p)
Parameters
Type | Name | Description |
---|---|---|
System.IntPtr | p |
Returns
Type | Description |
---|---|
SceneCaptureComponentCube |