docs.unity3d.com
    Show / Hide Table of Contents

    Class ProductPreview

    Class ProductPreview.

    Inheritance
    Object
    ConfiguratorPreview
    ProductPreview
    Inherited Members
    ConfiguratorPreview.unloadBeforePlayMode
    ConfiguratorPreview.configurator
    Namespace: Unity.Industrial.Forma.Core.Products
    Syntax
    public class ProductPreview : ConfiguratorPreview

    Fields

    autoLoad

    The automatic load

    Declaration
    public bool autoLoad
    Field Value
    Type Description
    Boolean

    OnChangedProduct

    The on changed product

    Declaration
    public ProductPreview.OnLoadProductDelegate OnChangedProduct
    Field Value
    Type Description
    ProductPreview.OnLoadProductDelegate

    OnLoadProduct

    The on load product

    Declaration
    public ProductPreview.OnLoadProductDelegate OnLoadProduct
    Field Value
    Type Description
    ProductPreview.OnLoadProductDelegate

    OnUnloadProduct

    The on unload product

    Declaration
    public ProductPreview.OnUnLoadProductDelegate OnUnloadProduct
    Field Value
    Type Description
    ProductPreview.OnUnLoadProductDelegate

    removeOnBuild

    The remove on build

    Declaration
    public bool removeOnBuild
    Field Value
    Type Description
    Boolean

    Properties

    productLoaded

    Gets a value indicating whether [product loaded].

    Declaration
    public bool productLoaded { get; }
    Property Value
    Type Description
    Boolean

    true if [product loaded]; otherwise, false.

    unloadingProduct

    Gets a value indicating whether [unloading product].

    Declaration
    public bool unloadingProduct { get; }
    Property Value
    Type Description
    Boolean

    true if [unloading product]; otherwise, false.

    Methods

    ActivateFeature(Feature)

    Activates the feature.

    Declaration
    public void ActivateFeature(Feature feature)
    Parameters
    Type Name Description
    Feature feature

    The feature.

    ActivateFeatures(List<Feature>)

    Activates the features.

    Declaration
    public void ActivateFeatures(List<Feature> featureList)
    Parameters
    Type Name Description
    List<Feature> featureList

    The feature list.

    AutoLoad(Boolean)

    Automatics the load.

    Declaration
    public void AutoLoad(bool value)
    Parameters
    Type Name Description
    Boolean value

    if set to true [value].

    EnsureUnloadProduct()

    Ensures the unload product.

    Declaration
    public void EnsureUnloadProduct()

    Load(Int32)

    Loads the specified index.

    Declaration
    public void Load(int index = 0)
    Parameters
    Type Name Description
    Int32 index

    The index.

    PostBuild()

    Posts the build.

    Declaration
    public void PostBuild()

    PreBuild()

    Pres the build.

    Declaration
    public void PreBuild()

    ProcessConfigurationReply(ProviderOperation<RuleEngineReply>)

    Processes the configuration reply.

    Declaration
    protected void ProcessConfigurationReply(ProviderOperation<RuleEngineReply> reply)
    Parameters
    Type Name Description
    ProviderOperation<RuleEngineReply> reply

    The reply.

    ReloadProviders()

    Reloads the providers.

    Declaration
    public void ReloadProviders()

    SwitchProduct(Int32)

    Switches the product.

    Declaration
    public void SwitchProduct(int index)
    Parameters
    Type Name Description
    Int32 index

    The index.

    TryAutoLoad()

    Tries the automatic load.

    Declaration
    public override void TryAutoLoad()
    Overrides
    ConfiguratorPreview.TryAutoLoad()

    TryAutoLoad(Int32)

    Tries the automatic load.

    Declaration
    public void TryAutoLoad(int index)
    Parameters
    Type Name Description
    Int32 index

    The index.

    Unload()

    Unloads this instance.

    Declaration
    public void Unload()
    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