Class GPUVideoEffectVR360Base
VR 360 base effect interface.
Inheritance
GPUVideoEffectVR360Base
Inherited Members
Namespace: VisioForge.Core.Types.VideoEffects
Assembly: VisioForge.Core.dll
Syntax
public class GPUVideoEffectVR360Base : GPUVideoEffect, IGPUVideoEffectVR360Base, IGPUVideoEffect
Constructors
GPUVideoEffectVR360Base(bool, float, float, float, float, string, TimeSpan, TimeSpan)
Initializes a new instance of the GPUVideoEffectVR360Base class.
Declaration
public GPUVideoEffectVR360Base(bool enabled, float yaw = 0, float pitch = 0, float roll = 0, float fov = 80, string name = "VR360", TimeSpan startTime = default, TimeSpan stopTime = default)
Parameters
Type | Name | Description |
---|---|---|
bool | enabled | True to enable effects. |
float | yaw | Yaw. |
float | pitch | Pitch. |
float | roll | Roll. |
float | fov | Fov. Default is 80. |
string | name | Effect name. Can be used to get effect interface to control it. |
TimeSpan | startTime | Start time. Use 0 to show effect always. |
TimeSpan | stopTime | Stop time. Use 0 to show effect always. |
Properties
Fov
Gets or sets fov.
Declaration
public float Fov { get; set; }
Property Value
Type | Description |
---|---|
float |
Pitch
Gets or sets pitch.
Declaration
public float Pitch { get; set; }
Property Value
Type | Description |
---|---|
float |
Roll
Gets or sets roll.
Declaration
public float Roll { get; set; }
Property Value
Type | Description |
---|---|
float |
Yaw
Gets or sets yaw.
Declaration
public float Yaw { get; set; }
Property Value
Type | Description |
---|---|
float |
Methods
GetEffectType()
Gets type.
Declaration
public GPUVideoEffectType GetEffectType()
Returns
Type | Description |
---|---|
GPUVideoEffectType | The VideoEffectType. |