docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ShaderGraphVfxAsset

    Inheritance
    object
    Object
    ScriptableObject
    ShaderGraphVfxAsset
    Implements
    ISerializationCallbackReceiver
    Inherited Members
    ScriptableObject.SetDirty()
    ScriptableObject.CreateInstance(string)
    ScriptableObject.CreateInstance(Type)
    ScriptableObject.CreateInstance<T>()
    Object.GetEntityId()
    Object.GetInstanceID()
    Object.GetHashCode()
    Object.Equals(object)
    Object.InstantiateAsync<T>(T)
    Object.InstantiateAsync<T>(T, Transform)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int)
    Object.InstantiateAsync<T>(T, int, Transform)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion)
    Object.InstantiateAsync<T>(T, int, Transform, Vector3, Quaternion, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>)
    Object.InstantiateAsync<T>(T, int, Transform, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, CancellationToken)
    Object.InstantiateAsync<T>(T, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, Vector3, Quaternion, InstantiateParameters, CancellationToken)
    Object.InstantiateAsync<T>(T, int, ReadOnlySpan<Vector3>, ReadOnlySpan<Quaternion>, InstantiateParameters, CancellationToken)
    Object.Instantiate(Object, Vector3, Quaternion)
    Object.Instantiate(Object, Vector3, Quaternion, Transform)
    Object.Instantiate(Object)
    Object.Instantiate(Object, Scene)
    Object.Instantiate<T>(T, InstantiateParameters)
    Object.Instantiate<T>(T, Vector3, Quaternion, InstantiateParameters)
    Object.Instantiate(Object, Transform)
    Object.Instantiate(Object, Transform, bool)
    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, bool)
    Object.Destroy(Object, float)
    Object.Destroy(Object)
    Object.DestroyImmediate(Object, bool)
    Object.DestroyImmediate(Object)
    Object.FindObjectsOfType(Type)
    Object.FindObjectsOfType(Type, bool)
    Object.FindObjectsByType(Type, FindObjectsSortMode)
    Object.FindObjectsByType(Type, FindObjectsInactive, FindObjectsSortMode)
    Object.DontDestroyOnLoad(Object)
    Object.DestroyObject(Object, float)
    Object.DestroyObject(Object)
    Object.FindSceneObjectsOfType(Type)
    Object.FindObjectsOfTypeIncludingAssets(Type)
    Object.FindObjectsOfType<T>()
    Object.FindObjectsByType<T>(FindObjectsSortMode)
    Object.FindObjectsOfType<T>(bool)
    Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
    Object.FindObjectOfType<T>()
    Object.FindObjectOfType<T>(bool)
    Object.FindFirstObjectByType<T>()
    Object.FindAnyObjectByType<T>()
    Object.FindFirstObjectByType<T>(FindObjectsInactive)
    Object.FindAnyObjectByType<T>(FindObjectsInactive)
    Object.FindObjectsOfTypeAll(Type)
    Object.FindObjectOfType(Type)
    Object.FindFirstObjectByType(Type)
    Object.FindAnyObjectByType(Type)
    Object.FindObjectOfType(Type, bool)
    Object.FindFirstObjectByType(Type, FindObjectsInactive)
    Object.FindAnyObjectByType(Type, FindObjectsInactive)
    Object.ToString()
    Object.name
    Object.hideFlags
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.ShaderGraph.Internal
    Assembly: Unity.ShaderGraph.Editor.dll
    Syntax
    public sealed class ShaderGraphVfxAsset : ScriptableObject, ISerializationCallbackReceiver

    Fields

    AlphaSlotId

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

    AlphaThresholdSlotId

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

    BaseColorSlotId

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

    ColorSlotId

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

    EmissiveSlotId

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

    MetallicSlotId

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

    NormalSlotId

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

    SmoothnessSlotId

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

    alphaClipping

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

    generatesWithShaderGraph

    Declaration
    [SerializeField]
    public bool generatesWithShaderGraph
    Field Value
    Type Description
    bool

    lit

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

    Properties

    evaluationFunctionName

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

    fragmentProperties

    Declaration
    public List<AbstractShaderProperty> fragmentProperties { get; }
    Property Value
    Type Description
    List<AbstractShaderProperty>

    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 List<ShaderInput> properties { get; }
    Property Value
    Type Description
    List<ShaderInput>

    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(int)

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

    HasOutput(int)

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

    Implements

    UnityEngine.ISerializationCallbackReceiver
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)