IFluxLocalPlayer
La référence est en anglais : elle est générée à partir des commentaires du code, écrits en anglais.
public interface IFluxLocalPlayerNamespace NodeWorld.SDK.Client.Flux.
The local player, as the FL# scripts of the world see it.
Properties
Controller
IPlayerController Controller { get; }The controller of the player's rig; null while there is none.
AvatarRig
NWFullBodyAvatarRig AvatarRig { get; }The full-body rig of the local avatar, drawn with its head by the cameras that show it (mirrors); null without one.
Controls
NWPlayerControls Controls { get; }What the world may change of the player's locomotion, seats, input and haptics; null when the rig has none.
Language
string Language { get; }The language of the client ("fr", "en"...).
Methods
Respawn
void Respawn()Brings the player back to the spawn point.
TryGetBone
bool TryGetBone(int syncedBone, out Vector3 position, out Quaternion rotation)A bone of the local avatar (index in the protocol's shared bones, SyncedBoneLayout), world space.
Events
LanguageChanged
event Action LanguageChangedThe player changed the language of the client.
Respawned
event Action RespawnedThe player was brought back to the respawn point (fell under the world's respawn height, or Respawn).
