Version: 2018.4
LanguageEnglish
  • C#
Experimental: this API is experimental and might be changed or removed in the future.

VFXEventAttribute

class in UnityEngine.Experimental.VFX

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

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 Methods

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.