docs.unity3d.com
    Show / Hide Table of Contents

    Class RuntimeConfiguratorActions

    Methods for changing the Configurator scene at runtime.

    Inheritance
    Object
    RuntimeConfiguratorActions
    Namespace: Unity.Industrial.Forma.FormaUIBase
    Syntax
    public static class RuntimeConfiguratorActions : object

    Properties

    Configurator

    Declaration
    public static Configurator Configurator { get; }
    Property Value
    Type Description
    Configurator

    Methods

    ApplyFeature(Feature)

    Apply this feature to the current product and change its configuration.

    Declaration
    public static void ApplyFeature(Feature feature)
    Parameters
    Type Name Description
    Feature feature

    Feature to be applied.

    ChangeCamera(StagingElement)

    Change the active camera.

    Declaration
    public static void ChangeCamera(StagingElement newCamera)
    Parameters
    Type Name Description
    StagingElement newCamera

    Camera to activate

    ChangeContext(String, String)

    Change the current product's context.

    Declaration
    public static void ChangeContext(string contextKey, string contextOption)
    Parameters
    Type Name Description
    String contextKey

    Context key

    String contextOption

    Context option

    ChangeEnvironment(StagingElement)

    Change the current Environment

    Declaration
    public static bool ChangeEnvironment(StagingElement newEnvironment)
    Parameters
    Type Name Description
    StagingElement newEnvironment

    Environment to activate

    Returns
    Type Description
    Boolean

    ChangeProduct(Int32)

    Change the active product.

    Declaration
    public static void ChangeProduct(int productIndex)
    Parameters
    Type Name Description
    Int32 productIndex

    The index in the product repository of the product to load.

    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023