Class VFXTypeAttribute
Defines a VFXType that you can use in Node Workspace.
Inherited Members
Namespace: UnityEngine .VFX
Assembly: Unity.VisualEffectGraph.Runtime.dll
Syntax
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
public class VFXTypeAttribute : Attribute
Constructors
VFXTypeAttribute(Usage, string)
Initializes and returns an instance of VFXType.
Declaration
public VFXTypeAttribute(VFXTypeAttribute.Usage usages = Usage.Default, string name = null)
Parameters
Type | Name | Description |
---|---|---|
VFXType |
usages | Flags that set how the Visual Effect Graph can use the VFXType. |
string | name | Custom name of the VFXType (can be null). |