Method GetState
GetState(out Dictionary<PolySpatialInstanceID, GameObjectNode>, out Dictionary<PolySpatialInstanceID, GameObjectNode>, out List<Object>, out List<Object>)
Returns the current state of ClientSim and HostPlatform GameObject data, mapping their QIDs to GameObject data encapsulated in GameObjectNode instances. Each collection of entries represents found GameObjects in their respective (clientSim or PolySpatial/HostPlatform) layer. Also fetches any unregistered assets found for each layer.
Declaration
public void GetState(out Dictionary<PolySpatialInstanceID, PolySpatialStateValidator.GameObjectNode> clientSimState, out Dictionary<PolySpatialInstanceID, PolySpatialStateValidator.GameObjectNode> hostPlatformState, out List<Object> unregisteredClientSimAssets, out List<Object> unregisteredHostPlatformAssets)
Parameters
Type | Name | Description |
---|---|---|
Dictionary<Poly |
clientSimState | collection of all clientSim layer PolySpatialInstanceIds and GameObjectNodes found |
Dictionary<Poly |
hostPlatformState | collection of all hostPlatform layer PolySpatialInstanceIds and GameObjectNodes found. Note that hostPlatform layer state dictionary is still indexed by clientSim GO PolySpatialInstanceIds. |
List<Object> | unregisteredClientSimAssets | collection of all unregistered clientSim Assets found |
List<Object> | unregisteredHostPlatformAssets | collection of all unregistered hostPlatform Assets found |