docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Struct VFXTemplateDescriptor

    This structure provides all useful information for a VFX template

    Inherited Members
    ValueType.Equals(object)
    ValueType.GetHashCode()
    ValueType.ToString()
    object.Equals(object, object)
    object.GetType()
    object.ReferenceEquals(object, object)
    Namespace: UnityEditor.VFX
    Assembly: Unity.VisualEffectGraph.Editor.dll
    Syntax
    public struct VFXTemplateDescriptor

    Fields

    category

    Category is used to group templates together in the template window

    Declaration
    public string category
    Field Value
    Type Description
    string

    description

    Give some description to your template so that we know what it's doing

    Declaration
    public string description
    Field Value
    Type Description
    string

    icon

    This icon is displayed next to the name in the template window

    Declaration
    public Texture2D icon
    Field Value
    Type Description
    Texture2D

    name

    Name of the template which will be displayed in the template window

    Declaration
    public string name
    Field Value
    Type Description
    string

    thumbnail

    Thumbnail is displayed with the description in the details panel of the template window

    Declaration
    public Texture2D thumbnail
    Field Value
    Type Description
    Texture2D

    Properties

    header

    Same as the name, inherited from the interface ITemplateDescriptor

    Declaration
    public string header { get; }
    Property Value
    Type Description
    string
    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)