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

VisualEffect.ResetOverride

public void ResetOverride(int nameID);
public void ResetOverride(string name);

Parameters

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

Description

Sets the overridden state to false, and restores the default value that is specified in the visual effect Asset.

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