Class PolySpatialExperimental
Provides public access to some experimental features.
Inherited Members
Namespace: Unity.PolySpatial
Assembly: Unity.PolySpatial.Core.dll
Syntax
public static class PolySpatialExperimental
Methods
ClearRuntimeFlags(RuntimeFlags)
Disables the specified experimental runtime flags for the active PolySpatial simulation backend.
Declaration
public static void ClearRuntimeFlags(PolySpatialExperimental.RuntimeFlags flags)
Parameters
| Type | Name | Description |
|---|---|---|
| PolySpatialExperimental.RuntimeFlags | flags | One or more PolySpatialExperimental.RuntimeFlags values to disable. |
Remarks
If no local PolySpatial simulation is active, the call is ignored.
LocalBackendType()
Gets the concrete type of the currently active local PolySpatial backend, if any.
Declaration
public static Type LocalBackendType()
Returns
| Type | Description |
|---|---|
| Type | The Type of the local backend instance, or null if no local backend is available. |
SetRuntimeFlags(RuntimeFlags)
Enables the specified experimental runtime flags for the active PolySpatial simulation backend.
Declaration
public static void SetRuntimeFlags(PolySpatialExperimental.RuntimeFlags flags)
Parameters
| Type | Name | Description |
|---|---|---|
| PolySpatialExperimental.RuntimeFlags | flags | One or more PolySpatialExperimental.RuntimeFlags values to enable. |
Remarks
If no local PolySpatial simulation is active, the call is ignored. Flags remain in effect until cleared via ClearRuntimeFlags(RuntimeFlags) or the simulation resets.