{!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} Class TestSceneBuilder | Unity PolySpatial | 0.0.4
docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class TestSceneBuilder

    This class assists with setting up a test Scene, specifically with enabling visual elements to render the Scene. Since some of the GameObjects created by this class are PolySpatial GameObjects, it maintains a count of created PolySpatial GameObjects and exposes said attribute so tests may take these GameObjects into consideration when checking all PolySpatial backing GameObjects.

    Inheritance
    object
    TestSceneBuilder
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    Namespace: Tests.Runtime.PolySpatialTest.Utils
    Assembly: solution.dll
    Syntax
    public class TestSceneBuilder

    Constructors

    Name Description
    TestSceneBuilder(bool)

    Properties

    Name Description
    CameraGameObject
    LightGameObject
    PolySpatialGameObjectCount

    Methods

    Name Description
    BuildVisibleScene()

    Sets up current Scene to enable visual rendering during test execution, allowing a user to see the Scene and its content (such as the test GameObject).

    DestroyVisibleScene()
    SetTestGameObjectInView(GameObject)

    Moves the test GameObject instance into the Scene's camera's view.

    In This Article
    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)