docs.unity3d.com
    Show / Hide Table of Contents

    Class ActiveFormaProfileDefinition

    The current ProfileDefinition for the active Configurator and associated values

    Inheritance
    Object
    ActiveFormaProfileDefinition
    Namespace: Unity.Industrial.Forma.Core.Publishing
    Syntax
    public static class ActiveFormaProfileDefinition

    Properties

    ActiveProfile

    Gets the active profile.

    Declaration
    public static ConfiguratorProfile ActiveProfile { get; }
    Property Value
    Type Description
    ConfiguratorProfile

    The active profile or null.

    ActiveProfileReference

    ActiveProfileReference

    Declaration
    public static ConfiguratorProfileReference ActiveProfileReference { get; set; }
    Property Value
    Type Description
    ConfiguratorProfileReference

    Methods

    ClearProfileDefinition()

    Clear the current ProfileDefinition and associated values

    Declaration
    public static void ClearProfileDefinition()

    GetProfileDefinition()

    Current GetProfileDefinition(). If null, function will attempt to retrieve and cache an appropriate GetProfileDefinition() asset from the project.

    Declaration
    public static ProfileDefinition GetProfileDefinition()
    Returns
    Type Description
    ProfileDefinition

    ProfileDefinition or null

    SetActiveProfile(ConfiguratorProfile)

    Sets the active profile

    Declaration
    public static void SetActiveProfile(ConfiguratorProfile profile)
    Parameters
    Type Name Description
    ConfiguratorProfile profile
    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