Struct PreviewProperty | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Struct PreviewProperty

    Inherited Members
    System.ValueType.Equals(System.Object)
    System.ValueType.GetHashCode()
    System.ValueType.ToString()
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    Namespace: UnityEditor.ShaderGraph
    Syntax
    public struct PreviewProperty

    Constructors

    PreviewProperty(PropertyType)

    Declaration
    public PreviewProperty(PropertyType type)
    Parameters
    Type Name Description
    PropertyType type

    Properties

    booleanValue

    Declaration
    public bool booleanValue { get; set; }
    Property Value
    Type Description
    System.Boolean

    colorValue

    Declaration
    public Color colorValue { get; set; }
    Property Value
    Type Description
    Color

    cubemapValue

    Declaration
    public Cubemap cubemapValue { get; set; }
    Property Value
    Type Description
    Cubemap

    floatValue

    Declaration
    public float floatValue { get; set; }
    Property Value
    Type Description
    System.Single

    gradientValue

    Declaration
    public Gradient gradientValue { get; set; }
    Property Value
    Type Description
    Gradient

    name

    Declaration
    public string name { get; set; }
    Property Value
    Type Description
    System.String

    propType

    Declaration
    public PropertyType propType { get; }
    Property Value
    Type Description
    PropertyType

    textureValue

    Declaration
    public Texture textureValue { get; set; }
    Property Value
    Type Description
    Texture

    vector4Value

    Declaration
    public Vector4 vector4Value { get; set; }
    Property Value
    Type Description
    Vector4

    Methods

    SetMaterialPropertyBlockValue(MaterialPropertyBlock)

    Declaration
    public void SetMaterialPropertyBlockValue(MaterialPropertyBlock block)
    Parameters
    Type Name Description
    MaterialPropertyBlock block
    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