Struct VFXTemplateDescriptor
VFX Template descriptor
Inherited Members
Namespace: UnityEditor .VFX
Assembly: Unity.VisualEffectGraph.Editor.dll
Syntax
[Serializable]
public struct VFXTemplateDescriptor
Fields
assetGuid
Internal use only
Declaration
[NonSerialized]
public string assetGuid
Field Value
Type | Description |
---|---|
string |
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
Declaration
public string name
Field Value
Type | Description |
---|---|
string |
order
Internal use only
Declaration
[NonSerialized]
public int order
Field Value
Type | Description |
---|---|
int |
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
Declaration
public string header { get; }
Property Value
Type | Description |
---|---|
string |