VisualEffect.HasGradient

public bool HasGradient(int nameID);
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.

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