Table of Contents

Class GLEquirectangularViewSettings

Namespace
VisioForge.Core.Types.X.OpenGL
Assembly
VisioForge.Core.dll

Class GLEquirectangularViewSettings.

public class GLEquirectangularViewSettings : IVRVideoControl

Inheritance

Implements

Inherited Members

Constructors

GLEquirectangularViewSettings(int, int)

Initializes a new instance of the VisioForge.Core.Types.X.OpenGL.GLEquirectangularViewSettings class.

public GLEquirectangularViewSettings(int videoWidth, int videoHeight)

Parameters

videoWidth int

Width of the video.

videoHeight int

Height of the video.

Properties

FieldOfView

Gets or sets the field of view (degrees).

public float FieldOfView { get; set; }

Property Value

float

Mode

Gets or sets the VR mode.

public VRMode Mode { get; set; }

Property Value

VRMode

Pitch

Gets or sets the pitch (degrees).

public float Pitch { get; set; }

Property Value

float

Roll

Gets or sets the roll (degrees).

public float Roll { get; set; }

Property Value

float

VideoHeight

The video height.

public int VideoHeight { get; }

Property Value

int

VideoWidth

The video width.

public int VideoWidth { get; }

Property Value

int

Yaw

Gets or sets the yaw (degrees).

public float Yaw { get; set; }

Property Value

float

Methods

IsModeSupported(VRMode)

Checks if specific VR mode is supported by block.

public bool IsModeSupported(VRMode mode)

Parameters

mode VRMode

Mode.

Returns

bool

bool.

SettingsChanged

Occurs when settings changed.

public event EventHandler<EventArgs> SettingsChanged

Event Type

EventHandler<EventArgs>