docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PolySpatialExperimental

    Provides public access to some experimental features.

    Inheritance
    object
    PolySpatialExperimental
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    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.

    In This Article
    Back to top
    Copyright © 2026 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)