{!See https://docs.google.com/document/d/1takg_GmIBBKKTj-GHZCwzxohpQz7Bhekivkk72kYMtE/edit for reference implementation of OneTrust, dataLayer and GTM} {!OneTrust Cookies Consent} {!OneTrust Cookies Consent end} {!dataLayer initialization push} {!dataLayer initialization push end} {!Google Tag Manager} {!Google Tag Manager end} Method GetState | Unity PolySpatial | 0.0.4
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 — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)