docs.unity3d.com
    Show / Hide Table of Contents

    Class ProductVariantProfile

    Class ProductVariantProfile.

    Inheritance
    Object
    ProductVariantProfile
    Namespace: UnityEngine.Industrial.Configuring.Core
    Syntax
    [Serializable]
    public class ProductVariantProfile : IDisplayableCard

    Constructors

    ProductVariantProfile()

    Initializes a new instance of the ProductVariantProfile class.

    Declaration
    public ProductVariantProfile()

    ProductVariantProfile(String, AssetProductReference)

    Initializes a new instance of the ProductVariantProfile class.

    Declaration
    public ProductVariantProfile(string label, AssetProductReference product)
    Parameters
    Type Name Description
    String label

    The label.

    AssetProductReference product

    The product.

    Fields

    id

    The identifier

    Declaration
    [Tooltip("Unique id for this product profile.")]
    [SerializeField]
    public string id
    Field Value
    Type Description
    String

    materialResourcesFolders

    The material resources folders

    Declaration
    [SerializeField]
    public List<string> materialResourcesFolders
    Field Value
    Type Description
    List<String>

    playableResourcesFolder

    For playables (timeline, etc) unique to this model

    Declaration
    [SerializeField]
    public string playableResourcesFolder
    Field Value
    Type Description
    String

    product

    The product

    Declaration
    [SerializeField]
    public AssetProductReference product
    Field Value
    Type Description
    AssetProductReference

    shouldRefreshMaterials

    The should refresh materials

    Declaration
    [SerializeField]
    public bool shouldRefreshMaterials
    Field Value
    Type Description
    Boolean

    Properties

    Label

    Gets or sets the label.

    Declaration
    public string Label { get; set; }
    Property Value
    Type Description
    String

    The label.

    Product

    Gets the product.

    Declaration
    public Product Product { get; }
    Property Value
    Type Description
    Product

    The product.

    Methods

    ResetId()

    Resets the identifier.

    Declaration
    public void ResetId()

    Thumbnail()

    Thumbnails this instance.

    Declaration
    public Texture2D Thumbnail()
    Returns
    Type Description
    Texture2D

    Texture2D.

    Back to top
    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