Class ShaderGraphVfxAsset | Shader Graph | 8.3.1
docs.unity3d.com
    Show / Hide Table of Contents

    Class ShaderGraphVfxAsset

    Inheritance
    Object
    Object
    ScriptableObject
    ShaderGraphVfxAsset
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(String)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(Object)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, Boolean)
    Object.Instantiate<T>(T)
    Object.Instantiate<T>(T, Vector3, Quaternion)
    Object.Instantiate<T>(T, Vector3, Quaternion, Transform)
    Object.Instantiate<T>(T, Transform)
    Object.Instantiate<T>(T, Transform, Boolean)
    Object.Destroy(Object, Single)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, Boolean)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, Boolean)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, Single)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
    Object.FindObjectOfType<T>()
    UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindObjectOfType(Type, Boolean)
    Object.ToString()
    Object.name
    Object.hideFlags
    Namespace: UnityEditor.ShaderGraph.Internal
    Syntax
    public sealed class ShaderGraphVfxAsset : ScriptableObject, ISerializationCallbackReceiver

    Fields

    alphaClipping

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

    AlphaSlotId

    Declaration
    public const int AlphaSlotId = 4
    Field Value
    Type Description
    Int32

    AlphaThresholdSlotId

    Declaration
    public const int AlphaThresholdSlotId = 7
    Field Value
    Type Description
    Int32

    BaseColorSlotId

    Declaration
    public const int BaseColorSlotId = 1
    Field Value
    Type Description
    Int32

    ColorSlotId

    Declaration
    public const int ColorSlotId = 6
    Field Value
    Type Description
    Int32

    EmissiveSlotId

    Declaration
    public const int EmissiveSlotId = 5
    Field Value
    Type Description
    Int32

    lit

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

    MetallicSlotId

    Declaration
    public const int MetallicSlotId = 2
    Field Value
    Type Description
    Int32

    NormalSlotId

    Declaration
    public const int NormalSlotId = 8
    Field Value
    Type Description
    Int32

    SmoothnessSlotId

    Declaration
    public const int SmoothnessSlotId = 3
    Field Value
    Type Description
    Int32

    Properties

    evaluationFunctionName

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

    inputStructName

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

    outputStructName

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

    properties

    Declaration
    public IEnumerable<AbstractShaderProperty> properties { get; }
    Property Value
    Type Description
    IEnumerable<AbstractShaderProperty>

    textureInfos

    Declaration
    public IEnumerable<TextureInfo> textureInfos { get; }
    Property Value
    Type Description
    IEnumerable<TextureInfo>

    Methods

    GetCode(OutputMetadata[])

    Declaration
    public GraphCode GetCode(OutputMetadata[] outputs)
    Parameters
    Type Name Description
    OutputMetadata[] outputs
    Returns
    Type Description
    GraphCode

    GetOutput(Int32)

    Declaration
    public OutputMetadata GetOutput(int id)
    Parameters
    Type Name Description
    Int32 id
    Returns
    Type Description
    OutputMetadata

    HasOutput(Int32)

    Declaration
    public bool HasOutput(int id)
    Parameters
    Type Name Description
    Int32 id
    Returns
    Type Description
    Boolean

    Explicit Interface Implementations

    ISerializationCallbackReceiver.OnAfterDeserialize()

    Declaration
    void ISerializationCallbackReceiver.OnAfterDeserialize()
    Implements
    ISerializationCallbackReceiver.OnAfterDeserialize()

    ISerializationCallbackReceiver.OnBeforeSerialize()

    Declaration
    void ISerializationCallbackReceiver.OnBeforeSerialize()
    Implements
    ISerializationCallbackReceiver.OnBeforeSerialize()
    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