Class ComponentBroadcasterDefinition
Component which defines when and how to attach a ComponentBroadcaster to a GameObject. ComponentBroadcasters can be created unconditionally or due to certain requirements being present on the provided GameObject.
Inheritance
ComponentBroadcasterDefinition
Inherited Members
Namespace: Microsoft.MixedReality.SpectatorView
Assembly: cs.temp.dll.dll
Syntax
public abstract class ComponentBroadcasterDefinition
Properties
IsTransformBroadcasterController
Gets whether or not this ComponentBroadcasterDefinition may need to perform modifications to the GameObject before other ComponentBroadcasterDefinitions are allowed to create ComponentBroadcasters.
Declaration
public abstract bool IsTransformBroadcasterController { get; }
Property Value
Type | Description |
---|---|
Boolean |
Methods
EnsureComponentBroadcastersCreated(GameObject, out Boolean)
Method which checks for the existence of requirements on the provided GameObject and either creates or destroys ComponentBroadcasters as necessary.
Declaration
public abstract void EnsureComponentBroadcastersCreated(GameObject gameObject, out bool changesDetected)
Parameters
Type | Name | Description |
---|---|---|
Game |
gameObject | The GameObject to check the state of. |
Boolean | changesDetected | True if ComponentBroadcasters were added or removed, otherwise false. |