IAvatarBehaviour Interface
Interface for serializing the Avatar state.
Currently there are implementations for Photon Fusion and Unity Netcode for Gameobjects for networking the Avatar state, but more may be added using this interface.
Represents the id of the
Oculus account logged in the current headset.
Defaults to 0 if it could not be fetched.
int LocalAvatarIndex[Get]
Index of the Avatar type used when the user defined one could not be loaded.
Usually this is chosen randomly between 0 and the number of Sample
Assets available for Avatars.
bool HasInputAuthority[Get]
Boolean indicating whether the user has input authority over this Avatar.
void ReceiveStreamData ( byte[] bytes )
Method to load a serialized avatar state and update it in the local client.
ParametersbytesByte stream containing the serialized avatar state.