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

VisualEffect.HasGradient

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.

Did you find this page useful? Please give it a rating: