Public Types

enum  MrcActivationMode { MrcActivationMode.Automatic = 0, MrcActivationMode.Disabled = 1, MrcActivationMode.EnumSize = 0x7fffffff }
 
enum  PlatformCameraMode {
  PlatformCameraMode.Disabled = -1, PlatformCameraMode.Initialized = 0, PlatformCameraMode.UserControlled = 1, PlatformCameraMode.SmartNavigated = 2,
  PlatformCameraMode.StabilizedPoV = 3, PlatformCameraMode.RemoteDroneControlled = 4, PlatformCameraMode.RemoteSpatialMapped = 5, PlatformCameraMode.EnumSize = 0x7fffffff
}
 
enum  InputVideoBufferType { InputVideoBufferType.Memory = 0, InputVideoBufferType.TextureHandle = 1, InputVideoBufferType.EnumSize = 0x7fffffff }
 

Static Public Member Functions

static bool Initialize ()
 
static bool Shutdown ()
 
static bool GetInitialized ()
 
static bool Update ()
 
static MrcActivationMode GetMrcActivationMode ()
 
static bool SetMrcActivationMode (MrcActivationMode mode)
 
static bool SetPlatformInitialized ()
 
static PlatformCameraMode GetPlatformCameraMode ()
 
static bool SetPlatformCameraMode (PlatformCameraMode mode)
 
static bool IsMrcEnabled ()
 
static bool IsMrcActivated ()
 
static bool UseMrcDebugCamera ()
 
static bool SetMrcInputVideoBufferType (InputVideoBufferType videoBufferType)
 
static InputVideoBufferType GetMrcInputVideoBufferType ()
 
static bool SetMrcFrameSize (int frameWidth, int frameHeight)
 
static void GetMrcFrameSize (out int frameWidth, out int frameHeight)
 
static bool SetMrcAudioSampleRate (int sampleRate)
 
static int GetMrcAudioSampleRate ()
 
static bool SetMrcFrameImageFlipped (bool imageFlipped)
 
static bool GetMrcFrameImageFlipped ()
 
static bool EncodeMrcFrame (System.IntPtr textureHandle, System.IntPtr fgTextureHandle, float[] audioData, int audioFrames, int audioChannels, double timestamp, double poseTime, ref int outSyncId)
 
static bool EncodeMrcFrame (RenderTexture frame, float[] audioData, int audioFrames, int audioChannels, double timestamp, double poseTime, ref int outSyncId)
 
static bool SyncMrcFrame (int syncId)
 
static bool SetAvailableQueueIndexVulkan (uint queueIndexVk)
 
static bool SetMrcHeadsetControllerPose (Posef headsetPose, Posef leftControllerPose, Posef rightControllerPose)
 

Member Enumeration Documentation

◆ InputVideoBufferType

Enumerator
Memory 
TextureHandle 
EnumSize 

◆ MrcActivationMode

Enumerator
Automatic 
Disabled 
EnumSize 

◆ PlatformCameraMode

Enumerator
Disabled 
Initialized 
UserControlled 
SmartNavigated 
StabilizedPoV 
RemoteDroneControlled 
RemoteSpatialMapped 
EnumSize 

Member Function Documentation

◆ EncodeMrcFrame() [1/2]

static bool OVRPlugin.Media.EncodeMrcFrame ( System.IntPtr  textureHandle,
System.IntPtr  fgTextureHandle,
float []  audioData,
int  audioFrames,
int  audioChannels,
double  timestamp,
double  poseTime,
ref int  outSyncId 
)
static

◆ EncodeMrcFrame() [2/2]

static bool OVRPlugin.Media.EncodeMrcFrame ( RenderTexture  frame,
float []  audioData,
int  audioFrames,
int  audioChannels,
double  timestamp,
double  poseTime,
ref int  outSyncId 
)
static

◆ GetInitialized()

static bool OVRPlugin.Media.GetInitialized ( )
static

◆ GetMrcActivationMode()

static MrcActivationMode OVRPlugin.Media.GetMrcActivationMode ( )
static

◆ GetMrcAudioSampleRate()

static int OVRPlugin.Media.GetMrcAudioSampleRate ( )
static

◆ GetMrcFrameImageFlipped()

static bool OVRPlugin.Media.GetMrcFrameImageFlipped ( )
static

◆ GetMrcFrameSize()

static void OVRPlugin.Media.GetMrcFrameSize ( out int  frameWidth,
out int  frameHeight 
)
static

◆ GetMrcInputVideoBufferType()

static InputVideoBufferType OVRPlugin.Media.GetMrcInputVideoBufferType ( )
static

◆ GetPlatformCameraMode()

static PlatformCameraMode OVRPlugin.Media.GetPlatformCameraMode ( )
static

◆ Initialize()

static bool OVRPlugin.Media.Initialize ( )
static

◆ IsMrcActivated()

static bool OVRPlugin.Media.IsMrcActivated ( )
static

◆ IsMrcEnabled()

static bool OVRPlugin.Media.IsMrcEnabled ( )
static

◆ SetAvailableQueueIndexVulkan()

static bool OVRPlugin.Media.SetAvailableQueueIndexVulkan ( uint  queueIndexVk)
static

◆ SetMrcActivationMode()

static bool OVRPlugin.Media.SetMrcActivationMode ( MrcActivationMode  mode)
static

◆ SetMrcAudioSampleRate()

static bool OVRPlugin.Media.SetMrcAudioSampleRate ( int  sampleRate)
static

◆ SetMrcFrameImageFlipped()

static bool OVRPlugin.Media.SetMrcFrameImageFlipped ( bool  imageFlipped)
static

◆ SetMrcFrameSize()

static bool OVRPlugin.Media.SetMrcFrameSize ( int  frameWidth,
int  frameHeight 
)
static

◆ SetMrcHeadsetControllerPose()

static bool OVRPlugin.Media.SetMrcHeadsetControllerPose ( Posef  headsetPose,
Posef  leftControllerPose,
Posef  rightControllerPose 
)
static

◆ SetMrcInputVideoBufferType()

static bool OVRPlugin.Media.SetMrcInputVideoBufferType ( InputVideoBufferType  videoBufferType)
static

◆ SetPlatformCameraMode()

static bool OVRPlugin.Media.SetPlatformCameraMode ( PlatformCameraMode  mode)
static

◆ SetPlatformInitialized()

static bool OVRPlugin.Media.SetPlatformInitialized ( )
static

◆ Shutdown()

static bool OVRPlugin.Media.Shutdown ( )
static

◆ SyncMrcFrame()

static bool OVRPlugin.Media.SyncMrcFrame ( int  syncId)
static

◆ Update()

static bool OVRPlugin.Media.Update ( )
static

◆ UseMrcDebugCamera()

static bool OVRPlugin.Media.UseMrcDebugCamera ( )
static

The documentation for this class was generated from the following file: