Class Texture3DInputMaterialSlot | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class Texture3DInputMaterialSlot

    Inheritance
    System.Object
    MaterialSlot
    Texture3DMaterialSlot
    Texture3DInputMaterialSlot
    Inherited Members
    Texture3DMaterialSlot.valueType
    Texture3DMaterialSlot.concreteValueType
    MaterialSlot.displayName
    MaterialSlot.RawDisplayName()
    MaterialSlot.CreateMaterialSlot(SlotValueType, Int32, String, String, SlotType, Vector4, ShaderStageCapability, Boolean)
    MaterialSlot.slotReference
    MaterialSlot.owner
    MaterialSlot.hidden
    MaterialSlot.id
    MaterialSlot.priority
    MaterialSlot.isInputSlot
    MaterialSlot.isOutputSlot
    MaterialSlot.slotType
    MaterialSlot.isConnected
    MaterialSlot.shaderOutputName
    MaterialSlot.stageCapability
    MaterialSlot.hasError
    MaterialSlot.IsCompatibleWith(MaterialSlot)
    MaterialSlot.IsCompatibleStageWith(MaterialSlot)
    MaterialSlot.ConcreteSlotValueAsVariable(AbstractMaterialNode.OutputPrecision)
    MaterialSlot.ConvertConcreteSlotValueTypeToPropertyType(ConcreteSlotValueType)
    MaterialSlot.Equals(ISlot)
    MaterialSlot.Equals(Object)
    MaterialSlot.GetHashCode()
    Namespace: UnityEditor.ShaderGraph
    Syntax
    public class Texture3DInputMaterialSlot : Texture3DMaterialSlot

    Constructors

    Texture3DInputMaterialSlot()

    Declaration
    public Texture3DInputMaterialSlot()

    Texture3DInputMaterialSlot(Int32, String, String, ShaderStageCapability, Boolean)

    Declaration
    public Texture3DInputMaterialSlot(int slotId, string displayName, string shaderOutputName, ShaderStageCapability shaderStageCapability = ShaderStageCapability.All, bool hidden = false)
    Parameters
    Type Name Description
    System.Int32 slotId
    System.String displayName
    System.String shaderOutputName
    ShaderStageCapability shaderStageCapability
    System.Boolean hidden

    Properties

    texture

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

    Methods

    AddDefaultProperty(PropertyCollector, GenerationMode)

    Declaration
    public override void AddDefaultProperty(PropertyCollector properties, GenerationMode generationMode)
    Parameters
    Type Name Description
    PropertyCollector properties
    GenerationMode generationMode
    Overrides
    Texture3DMaterialSlot.AddDefaultProperty(PropertyCollector, GenerationMode)

    CopyValuesFrom(MaterialSlot)

    Declaration
    public override void CopyValuesFrom(MaterialSlot foundSlot)
    Parameters
    Type Name Description
    MaterialSlot foundSlot
    Overrides
    Texture3DMaterialSlot.CopyValuesFrom(MaterialSlot)

    GetDefaultValue(GenerationMode)

    Declaration
    public override string GetDefaultValue(GenerationMode generationMode)
    Parameters
    Type Name Description
    GenerationMode generationMode
    Returns
    Type Description
    System.String
    Overrides
    MaterialSlot.GetDefaultValue(GenerationMode)

    GetPreviewProperties(List<PreviewProperty>, String)

    Declaration
    public override void GetPreviewProperties(List<PreviewProperty> properties, string name)
    Parameters
    Type Name Description
    List<PreviewProperty> properties
    System.String name
    Overrides
    MaterialSlot.GetPreviewProperties(List<PreviewProperty>, String)

    InstantiateControl()

    Declaration
    public override VisualElement InstantiateControl()
    Returns
    Type Description
    VisualElement
    Overrides
    MaterialSlot.InstantiateControl()
    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