NRSDKApiForUnity
Classes
XRXREALNativeEncoder
Unity.XR.XREAL.NativeEncoder

Public Member Functions

void AdjustVolume (RecorderIndex recordIdx, float factor)
 
void UpdateSurface (IntPtr texture_id, UInt64 time_stamp)
 

Detailed Description

A native encoder.

Member Function Documentation

◆ AdjustVolume()

void Unity.XR.XREAL.NativeEncoder.AdjustVolume ( RecorderIndex recordIdx,
float factor )

Adjust the volume of encoder.

Parameters
recordIdxRecorder index.
factorThe factor of volume.

◆ UpdateSurface()

void Unity.XR.XREAL.NativeEncoder.UpdateSurface ( IntPtr texture_id,
UInt64 time_stamp )

Updates the surface.

Parameters
texture_idIdentifier for the texture.
time_stampThe time stamp.