Version: 2019.1
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.
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961