Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


HasVector2

Checks if the Visual Effect can override a Vector2 with the name you pass in.
Read time 1 minuteLast updated 5 days ago

Definition

HasVector2(int)

Checks if the Visual Effect can override a Vector2 with the name you pass in.
public bool HasVector2(int nameID)

Parameters

nameID

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

Returns

Type

Description

bool

HasVector2(string)

Checks if the Visual Effect can override a Vector2 with the name you pass in.
public bool HasVector2(string name)

Parameters

name

The name of the property.

Returns

Type

Description

bool