API reference
API reference
Select your platform
No SDKs available
No versions available

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.

Properties

Represents the id of the Oculus account logged in the current headset.
Defaults to 0 if it could not be fetched.
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.
Boolean indicating whether the user has input authority over this Avatar.

Member Functions

Method to load a serialized avatar state and update it in the local client.
Parameters
bytes
Byte stream containing the serialized avatar state.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon