public bool HasGradient (int nameID);
public bool HasGradient (string name);

Parameters

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameThe name of the property.

Description

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