Class VFXTypeAttribute
Defines a VFXType that you can use in Node Workspace.
Implements
Inherited Members
Namespace: UnityEngine.VFX
Assembly: solution.dll
Syntax
[AttributeUsage(AttributeTargets.Struct, AllowMultiple = false)]
public class VFXTypeAttribute : Attribute, _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 |
|---|---|---|
| VFXTypeAttribute.Usage | usages | Flags that set how the Visual Effect Graph can use the VFXType. |
| string | name | Custom name of the VFXType (can be null). |