Class DynamicGameObjectHierarchyBroadcaster<TComponentService>
A ComponentBroadcaster that allows instantiating a custom child hierarchy for the remote DynamicGameObjectHierarchyObserver.
The corresponding DynamicGameObjectHierarchyObserver is responsible for creating an initially-identical child
hierarchy. Once both devices have created the same initial hierarchy, the hierarchies are bound together
and state synchronization is initialized for all of the GameObjects within that hierarchy.
Inheritance
DynamicGameObjectHierarchyBroadcaster<TComponentService>
Assembly: cs.temp.dll.dll
Syntax
public abstract class DynamicGameObjectHierarchyBroadcaster<TComponentService> : ComponentBroadcaster<TComponentService, byte>, IComponentBroadcaster where TComponentService : Singleton<TComponentService>, IComponentBroadcasterService
Type Parameters
Name |
Description |
TComponentService |
The IComponentBroadcasterService responsible for network communication for this ComponentBroadcaster.
|
Properties
DynamicObject
Gets or sets the locally-created dynamic GameObject hierarchy root.
Declaration
protected GameObject DynamicObject { get; set; }
Property Value
Type |
Description |
GameObject |
|
Methods
CalculateDeltaChanges()
Declaration
protected override byte CalculateDeltaChanges()
Returns
Overrides
Microsoft.MixedReality.SpectatorView.ComponentBroadcaster<TComponentService, System.Byte>.CalculateDeltaChanges()
HasChanges(Byte)
Declaration
protected override bool HasChanges(byte changeFlags)
Parameters
Type |
Name |
Description |
Byte |
changeFlags |
|
Returns
Overrides
Microsoft.MixedReality.SpectatorView.ComponentBroadcaster<TComponentService, System.Byte>.HasChanges(System.Byte)
ProcessNewConnections(IEnumerable<SocketEndpoint>)
Declaration
protected override void ProcessNewConnections(IEnumerable<SocketEndpoint> connectionsRequiringFullUpdate)
Parameters
Type |
Name |
Description |
IEnumerable<SocketEndpoint> |
connectionsRequiringFullUpdate |
|
Overrides
Microsoft.MixedReality.SpectatorView.ComponentBroadcaster<TComponentService, System.Byte>.ProcessNewConnections(IEnumerable<Microsoft.MixedReality.SpectatorView.SocketEndpoint>)
Read(SocketEndpoint, BinaryReader)
Declaration
public void Read(SocketEndpoint sendingEndpoint, BinaryReader message)
Parameters
Type |
Name |
Description |
SocketEndpoint |
sendingEndpoint |
|
BinaryReader |
message |
|
Read(SocketEndpoint, BinaryReader, Byte)
Declaration
protected virtual void Read(SocketEndpoint sendingEndpoint, BinaryReader message, byte changeType)
Parameters
RemoveDisconnectedEndpoints(IEnumerable<SocketEndpoint>)
Declaration
protected override void RemoveDisconnectedEndpoints(IEnumerable<SocketEndpoint> endpoints)
Parameters
Overrides
Microsoft.MixedReality.SpectatorView.ComponentBroadcaster<TComponentService, System.Byte>.RemoveDisconnectedEndpoints(IEnumerable<Microsoft.MixedReality.SpectatorView.SocketEndpoint>)
SendCompleteChanges(IEnumerable<SocketEndpoint>)
Declaration
protected override void SendCompleteChanges(IEnumerable<SocketEndpoint> endpoints)
Parameters
Overrides
Microsoft.MixedReality.SpectatorView.ComponentBroadcaster<TComponentService, System.Byte>.SendCompleteChanges(IEnumerable<Microsoft.MixedReality.SpectatorView.SocketEndpoint>)
SendDeltaChanges(IEnumerable<SocketEndpoint>, Byte)
Declaration
protected override void SendDeltaChanges(IEnumerable<SocketEndpoint> endpoints, byte changeFlags)
Parameters
Overrides
Microsoft.MixedReality.SpectatorView.ComponentBroadcaster<TComponentService, System.Byte>.SendDeltaChanges(IEnumerable<Microsoft.MixedReality.SpectatorView.SocketEndpoint>, System.Byte)
SendInstantiationRequest()
Declaration
protected void SendInstantiationRequest()
ShouldSendChanges(SocketEndpoint)
Declaration
protected override bool ShouldSendChanges(SocketEndpoint endpoint)
Parameters
Returns
Overrides
Microsoft.MixedReality.SpectatorView.ComponentBroadcaster<TComponentService, System.Byte>.ShouldSendChanges(Microsoft.MixedReality.SpectatorView.SocketEndpoint)
WriteInstantiationRequestParameters(BinaryWriter)
Declaration
protected abstract void WriteInstantiationRequestParameters(BinaryWriter message)
Parameters
Type |
Name |
Description |
BinaryWriter |
message |
|
Implements