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

NetcodeGameObjectsNetworkData Class

A Netcode for GameObjects concrete implementation of INetworkData Used to manage a Player and Anchor list that all players that colocated are in.
Meta::XR::MultiplayerBlocks::NGO::NetcodeGameObjectsNetworkData extends NetworkBehaviour.
Meta::XR::MultiplayerBlocks::NGO::NetcodeGameObjectsNetworkData extends Meta.XR.MultiplayerBlocks.Colocation.INetworkData.

Overview

Public Member Functions

void
AddPlayer
( Player player )
void
RemovePlayer
( Player player )
Player?
GetPlayerWithPlayerId
( ulong playerId )
Player?
GetPlayerWithOculusId
( ulong oculusId )
List< Player >
void
AddAnchor
( Anchor anchor )
void
RemoveAnchor
( Anchor anchor )
Anchor?
GetAnchor
( ulong ownerOculusId )
List< Anchor >
uint
void

Details

Member Functions

void Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.AddPlayer
( Player player )
No description available.
void Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.RemovePlayer
( Player player )
No description available.
Player? Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.GetPlayerWithPlayerId
( ulong playerId )
No description available.
Player? Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.GetPlayerWithOculusId
( ulong oculusId )
No description available.
List< Player > Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.GetAllPlayers ( )
No description available.
void Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.AddAnchor
( Anchor anchor )
No description available.
void Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.RemoveAnchor
( Anchor anchor )
No description available.
Anchor? Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.GetAnchor
( ulong ownerOculusId )
No description available.
List< Anchor > Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.GetAllAnchors ( )
No description available.
uint Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.GetColocationGroupCount ( )
No description available.
void Meta.XR.MultiplayerBlocks.NGO.NetcodeGameObjectsNetworkData.IncrementColocationGroupCount ( )
No description available.
Did you find this page helpful?
Thumbs up icon
Thumbs down icon