This version of Unity is unsupported.

VisualEffect.HasGradient

Declaration

public bool HasGradient(int nameID);

Declaration

public bool HasGradient(string name);

Parameters

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

Description

Use this method to check if the visual effect can override a gradient with the name you pass in.