IFluxVoice

csharp
public interface IFluxVoice

Namespace NodeWorld.SDK.Client.Flux.

How the local player hears the voices of the others (the client's voice playback).

Properties

DefaultNear

csharp
float DefaultNear { get; }

The client's own near distance of a voice (m).

DefaultFar

csharp
float DefaultFar { get; }

The client's own far distance of a voice (m).

DefaultGainDb

csharp
float DefaultGainDb { get; }

The client's own gain of a voice (dB).

Methods

SetPlayerVoice

csharp
void SetPlayerVoice(uint playerId, float near, float far, float gainDb, float volumetricRadius, bool lowpass)

Near / far (m), gain (dB), volumetric radius (m), lowpass: how the local player hears that player.

ResetPlayerVoice

csharp
void ResetPlayerVoice(uint playerId)

Back to the client's own settings for that player.

SetPlayerAvatarAudible

csharp
void SetPlayerAvatarAudible(uint playerId, bool audible)

Whether the local player hears the sounds of that player's avatar (the AudioSources of the avatar).