Documentation

Unity Engine

Unity Engine

HasFloat

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

Definition

HasFloat(int)

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

Parameters

nameID

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

Returns

Type

Description

boolTrue if the Visual Effect can override a float with that name. Otherwise, false.

HasFloat(string)

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

Parameters

name

The name of the property.

Returns

Type

Description

boolTrue if the Visual Effect can override a float with that name. Otherwise, false.