Experimental: this API is experimental and might be changed or removed in the future.

VFXEventAttribute

class in UnityEngine.Experimental.VFX

Switch to Manual

Description

The class VFXEventAttribute handles properties transmitted to a system with a VisualEffect.SendEvent.

Lets you alter initial properties from a Spawn.

Constructors

VFXEventAttributeCopy constructor.

Public Functions

CopyValuesFromCopy stored values from another event attribute.
GetBoolGets a named stored boolean.
GetFloatGets a named stored float.
GetIntGets a named stored integer.
GetMatrix4x4Gets a named stored Matrix4x4.
GetUintGets a named stored unsigned integer.
GetVector2Gets a named stored Vector2.
GetVector3Gets a named stored Vector3.
GetVector4Gets a named stored Vector4.
HasBoolReturns true if event attribute stores this named boolean.
HasFloatReturns true if event attribute stores this named float.
HasIntReturns true if event attribute stores this named integer.
HasMatrix4x4Returns true if event attribute stores this named Matrix4x4.
HasUintReturns true if event attribute stores this named unsigned integer.
HasVector2Returns true if event attribute stores this named Vector2.
HasVector3Returns true if event attribute stores this named Vector3.
HasVector4Returns true if event attribute stores this named Vector4.
SetBoolSets a named boolean value.
SetFloatSets a named float value.
SetIntSets a named integer value.
SetMatrix4x4Sets a named Matrix4x4 value.
SetUintSets a named unsigned integer value.
SetVector2Sets a named Vector2 value.
SetVector3Sets a named Vector3 value.
SetVector4Sets a named Vector4 value.