docs.unity3d.com
    Show / Hide Table of Contents

    Class ProductCanvas

    UGui implementation of Product Canvas

    Inheritance
    Object
    ProductCanvas
    Namespace: Unity.Industrial.Forma.RuntimeUI
    Syntax
    public class ProductCanvas : MonoBehaviour, IProductCanvas

    Properties

    updateViewport

    If this is true (default), the viewport will be changed when the menu is opened. Setting this to false treats the UI as an overlay.

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

    true if [update viewport]; otherwise, false.

    Methods

    AddChild(IFeatureSetDropdown)

    Adds the child.

    Declaration
    public void AddChild(IFeatureSetDropdown child)
    Parameters
    Type Name Description
    IFeatureSetDropdown child

    The child.

    Implements
    IProductCanvas.AddChild(IFeatureSetDropdown)

    Destroy()

    Destroys this instance.

    Declaration
    public void Destroy()
    Implements
    IProductCanvas.Destroy()

    GetContentRoot()

    Gets the content root.

    Declaration
    public Transform GetContentRoot()
    Returns
    Type Description
    Transform

    Transform.

    Implements
    IProductCanvas.GetContentRoot()

    GetHeaderRoot()

    Gets the header root.

    Declaration
    public Transform GetHeaderRoot()
    Returns
    Type Description
    Transform

    Transform.

    Implements
    IProductCanvas.GetHeaderRoot()

    GetRoot()

    Gets the root.

    Declaration
    public Transform GetRoot()
    Returns
    Type Description
    Transform

    Transform.

    Implements
    IProductCanvas.GetRoot()

    RemoveChild(IFeatureSetDropdown)

    Removes the child.

    Declaration
    public void RemoveChild(IFeatureSetDropdown child)
    Parameters
    Type Name Description
    IFeatureSetDropdown child

    The child.

    Implements
    IProductCanvas.RemoveChild(IFeatureSetDropdown)

    SnapTo(IFeatureSetDropdown)

    Snaps to.

    Declaration
    public void SnapTo(IFeatureSetDropdown target)
    Parameters
    Type Name Description
    IFeatureSetDropdown target

    The target.

    Implements
    IProductCanvas.SnapTo(IFeatureSetDropdown)
    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