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.
Inherited Members
Namespace: Tests.Runtime.PolySpatialTest .Utils
Assembly: solution.dll
Syntax
public class TestSceneBuilder
Constructors
Name | Description |
---|---|
Test |
Properties
Name | Description |
---|---|
Camera |
|
Light |
|
Poly |
Methods
Name | Description |
---|---|
Build |
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). |
Destroy |
|
Set |
Moves the test GameObject instance into the Scene's camera's view. |