Version: 2019.4
public bool HasGradient (int nameID);
public bool HasGradient (string name);

パラメーター

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameプロパティーの名前

説明

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