NetSyncOptions
()
|
Creates a new instance of ::NetSyncOptions which is used to customize the option flow. It returns a handle to the newly created options object, which can be used to set various properties for the options.
Signature
Oculus.Platform.NetSyncOptions.NetSyncOptions() |
SetVoipGroup
(
value
)
|
If provided, immediately set the voip_group to this value upon connection and can be retrieved using NetSyncSession::VoipGroup
Signature
void Oculus.Platform.NetSyncOptions.SetVoipGroup(string value) Parameters value: stringReturns void |
SetVoipStreamDefault
(
value
)
|
When a new remote voip user connects, default that connection to this stream type by default. There are three modes: NetSyncVoipStreamMode.Unknown, NetSyncVoipStreamMode.Ambisonic, NetSyncVoipStreamMode.Mono.
Signature
void Oculus.Platform.NetSyncOptions.SetVoipStreamDefault(NetSyncVoipStreamMode value) Parameters value: NetSyncVoipStreamModeReturns void |
SetZoneId
(
value
)
|
A string represents the unique identifier within the current application grouping.
Signature
void Oculus.Platform.NetSyncOptions.SetZoneId(string value) Parameters value: stringReturns void |
operator IntPtr
(
options
)
|
This operator allows you to pass an instance of the ::NetSyncOptions class to native C code as an IntPtr. The operator returns the handle of the options object, or IntPtr.Zero if the object is null.
Signature
static Oculus.Platform.NetSyncOptions.operator IntPtr(NetSyncOptions options) Parameters options: NetSyncOptions |