Documentation

Unity Engine

Download Unity

Unity Engine

HasMatrix4x4

Use this method to check if the VFXEventAttribute stores a Matrix4x4 with the name you pass in.
Read time 1 minuteLast updated 17 days ago

Definition

HasMatrix4x4(int)

Use this method to check if the VFXEventAttribute stores a Matrix4x4 with the name you pass in.
public bool HasMatrix4x4(int nameID)

Parameters

nameID

The ID of the property. This is the same ID that Shader.PropertyToID returns.

Returns

Type

Description

boolTrue if the VFXEventAttribute stores a Matrix4x4 with that name. Otherwise, false.

HasMatrix4x4(string)

Use this method to check if the VFXEventAttribute stores a Matrix4x4 with the name you pass in.
public bool HasMatrix4x4(string name)

Parameters

name

The name of the property.

Returns

Type

Description

boolTrue if the VFXEventAttribute stores a Matrix4x4 with that name. Otherwise, false.