Experimental: this API is experimental and might be changed or removed in the future.

VisualEffect.HasGradient

Switch to Manual
public bool HasGradient (int nameID);
public bool HasGradient (string name);

Parameters

nameIDThe name ID of the property retrieved by Shader.PropertyToID.
nameThe name of the property.

Description

Returns true if visual effect can override this named gradient.