Show / Hide Table of Contents

    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
    Object
    ComponentBroadcaster<TComponentService, Byte>
    DynamicGameObjectHierarchyBroadcaster<TComponentService>
    Implements
    IComponentBroadcaster
    Inherited Members
    ComponentBroadcaster<TComponentService, Byte>.transformBroadcaster
    ComponentBroadcaster<TComponentService, Byte>.TransformBroadcaster
    ComponentBroadcaster<TComponentService, Byte>.ComponentBroadcasterService
    ComponentBroadcaster<TComponentService, Byte>.IComponentBroadcaster.ComponentBroadcasterService
    ComponentBroadcaster<TComponentService, Byte>.Awake()
    ComponentBroadcaster<TComponentService, Byte>.OnDestroy()
    ComponentBroadcaster<TComponentService, Byte>.UpdateWhenDisabled
    ComponentBroadcaster<TComponentService, Byte>.PerformanceComponentName
    ComponentBroadcaster<TComponentService, Byte>.ResetFrame()
    ComponentBroadcaster<TComponentService, Byte>.ShouldSendChanges(SocketEndpoint)
    ComponentBroadcaster<TComponentService, Byte>.ProcessNewConnections(SocketEndpointConnectionDelta)
    ComponentBroadcaster<TComponentService, Byte>.ProcessNewConnections(IEnumerable<SocketEndpoint>)
    ComponentBroadcaster<TComponentService, Byte>.OnFrameCompleted(SocketEndpointConnectionDelta)
    ComponentBroadcaster<TComponentService, Byte>.SendComponentCreation(IEnumerable<SocketEndpoint>)
    ComponentBroadcaster<TComponentService, Byte>.OnInitialized()
    ComponentBroadcaster<TComponentService, Byte>.ShouldUpdateFrame(SocketEndpoint)
    ComponentBroadcaster<TComponentService, Byte>.BeginUpdatingFrame(SocketEndpointConnectionDelta)
    ComponentBroadcaster<TComponentService, Byte>.EndUpdatingFrame()
    ComponentBroadcaster<TComponentService, Byte>.SendCompleteChanges(IEnumerable<SocketEndpoint>)
    ComponentBroadcaster<TComponentService, Byte>.CalculateDeltaChanges()
    ComponentBroadcaster<TComponentService, Byte>.HasChanges(Byte)
    ComponentBroadcaster<TComponentService, Byte>.SendDeltaChanges(IEnumerable<SocketEndpoint>, Byte)
    ComponentBroadcaster<TComponentService, Byte>.RemoveDisconnectedEndpoints(IEnumerable<SocketEndpoint>)
    Namespace: Microsoft.MixedReality.SpectatorView
    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
    Type Description
    Byte
    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
    Type Description
    Boolean
    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
    Type Name Description
    SocketEndpoint sendingEndpoint
    BinaryReader message
    Byte changeType

    RemoveDisconnectedEndpoints(IEnumerable<SocketEndpoint>)

    Declaration
    protected override void RemoveDisconnectedEndpoints(IEnumerable<SocketEndpoint> endpoints)
    Parameters
    Type Name Description
    IEnumerable<SocketEndpoint> endpoints
    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
    Type Name Description
    IEnumerable<SocketEndpoint> endpoints
    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
    Type Name Description
    IEnumerable<SocketEndpoint> endpoints
    Byte changeFlags
    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
    Type Name Description
    SocketEndpoint endpoint
    Returns
    Type Description
    Boolean
    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

    IComponentBroadcaster
    In This Article
    • Properties
      • DynamicObject
    • Methods
      • CalculateDeltaChanges()
      • HasChanges(Byte)
      • ProcessNewConnections(IEnumerable<SocketEndpoint>)
      • Read(SocketEndpoint, BinaryReader)
      • Read(SocketEndpoint, BinaryReader, Byte)
      • RemoveDisconnectedEndpoints(IEnumerable<SocketEndpoint>)
      • SendCompleteChanges(IEnumerable<SocketEndpoint>)
      • SendDeltaChanges(IEnumerable<SocketEndpoint>, Byte)
      • SendInstantiationRequest()
      • ShouldSendChanges(SocketEndpoint)
      • WriteInstantiationRequestParameters(BinaryWriter)
    • Implements
    Back to top Generated by DocFX