docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    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<PolySpatialInstanceID, PolySpatialStateValidator.GameObjectNode> clientSimState

    collection of all clientSim layer PolySpatialInstanceIds and GameObjectNodes found

    Dictionary<PolySpatialInstanceID, PolySpatialStateValidator.GameObjectNode> 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

    In This Article
    • GetState(out Dictionary<PolySpatialInstanceID, GameObjectNode>, out Dictionary<PolySpatialInstanceID, GameObjectNode>, out List<Object>, out List<Object>)
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023