Public Member Functions | |
NativeEncodeConfig (CameraParameters cameraparam, string path="") | |
void | SetOutPutPath (string path) |
override string | ToString () |
Properties | |
int | width [get] |
int | height [get] |
int | bitRate [get] |
int | fps [get] |
int | codecType [get] |
string | outPutPath [get] |
int | useStepTime [get] |
bool | useAlpha [get] |
bool | useLinnerTexture [get] |
Detailed Description
A native encode configuration.
Constructor & Destructor Documentation
◆ NativeEncodeConfig()
Unity.XR.XREAL.NativeEncodeConfig.NativeEncodeConfig | ( | CameraParameters | cameraparam, |
string | path = "" ) |
Constructor.
- Parameters
-
cameraparam The cameraparam. path (Optional) Full pathname of the file.
Member Function Documentation
◆ SetOutPutPath()
void Unity.XR.XREAL.NativeEncodeConfig.SetOutPutPath | ( | string | path | ) |
Sets out put path.
- Parameters
-
path Full pathname of the file.
◆ ToString()
override string Unity.XR.XREAL.NativeEncodeConfig.ToString | ( | ) |
Convert this object into a string representation.
- Returns
- A string that represents this object.
format: { "width":1280,"height":720,"bitRate":10240000,"fps":30,"codecType":0,"outPutPath":"/storage/emulated/0/Android/data/com.DefaultCompany.NRSDKXRPlugin/files/Xreal_Record_6437926.mp4","useStepTime":0,"useAlpha":false,"useLinnerTexture":true,"addMicphoneAudio":true,"addInternalAudio":true,"audioSampleRate":16000,"audioBitRate":128000}
Property Documentation
◆ bitRate
|
get |
Gets or sets the bit rate.
The bit rate.
◆ codecType
|
get |
Gets or sets the type of the codec.
The type of the codec.
◆ fps
|
get |
Gets or sets the FPS.
The FPS.
◆ height
|
get |
Gets or sets the height.
The height.
◆ outPutPath
|
get |
Gets or sets the full pathname of the out put file.
The full pathname of the out put file.
◆ useAlpha
|
get |
Gets or sets a value indicating whether this object use alpha.
True if use alpha, false if not.
◆ useLinnerTexture
|
get |
Gets or sets a value indicating whether this object use linner texture.
True if use linner texture, false if not.
◆ useStepTime
|
get |
Gets or sets the use step time.
The use step time.
◆ width
|
get |
Gets or sets the width.
The width.