SVoiceZone

Index

Functions Index

Function Name

void SetOverrideVoice (bool enabled)

void SetOverrideVideo (bool enabled)

void AddAuthVoiceUser (uint userID)

void RemoveAuthVoiceUser (uint userID)

void AddAuthVideoUser (uint userID)

void RemoveAuthVideoUser (uint userID)

Properties Index

Property Name

bool Enabled get set

bool AllowVoice get set

bool AllowVideo get set

int Priority get

string AreaName get

bool Spatialized get

bool Global get

uint[] AuthVideoUsers get

uint[] AuthVoiceUsers get

SGameObject GameObject get

Functions

SetOverrideVoice

void SetOverrideVoice (bool enabled)

Set voice to override the original voice.

Parameter
Type
Description

ClearOverrideVoice

void ClearOverrideVoice ()

Clear the overriding voice.

SetOverrideVideo

void SetOverrideVideo (bool enabled)

Function Description

Parameter
Type
Description

ClearOverrideVideo

void ClearOverrideVideo ()

Function Description

AddAuthVoiceUser

void AddAuthVoiceUser (uint userID)

Add a user to AuthVoiceUser by his ID.

Parameter
Type
Description

RemoveAuthVoiceUser

void RemoveAuthVoiceUser (uint userID)

Remove a user from AuthVoiceUser by his ID.

Parameter
Type
Description

AddAuthVideoUser

void AddAuthVideoUser (uint userID)

Function Description

Parameter
Type
Description

RemoveAuthVideoUser

void RemoveAuthVideoUser (uint userID)

Remove a user from AuthVoiceUser by his ID.

Parameter
Type
Description

Properties

Enabled

bool Enabled get set

Whether the Voice Zone component is Enabled

AllowVoice

bool AllowVoice get set

Whether allows voice.

AllowVideo

bool AllowVideo get set

Whether allows video.

ConnectVoiceService

bool ConnectVoiceService get set

Property Description

ConnectVideoService

bool ConnectVideoService get set

Property Description

Priority

int Priority get

The priority of the voice zone

AreaName

string AreaName get

The name of area.

Spatialized

bool Spatialized get

Whether the voice zone is spatialized.

SpatialDropoff

bool SpatialDropoff get

Whether the voice zone is spatialized drop off.

SpatialStereo

bool SpatialStereo get

Whether the voice zone is spatial stereo.

SpatialDistance

float SpatialDistance get

The spatial distance of the voice zone.

Global

bool Global get

Whether the voice zone is global.

AuthVideoUsers

uint[] AuthVideoUsers get

Return an array of auth video user.

AuthVoiceUsers

uint[] AuthVoiceUsers get

Property Description

GameObject

SGameObject GameObject get

Property Description

Last updated

Was this helpful?