public void SetFloat (int nameID, float f);
public void SetFloat (string name, float f);

Parameters

nameIDThe ID of the property. This is the same ID that Shader.PropertyToID returns.
nameThe name of the property.
fThe new float value.

Description

The new float value.

Automatically changes overridden state for this property to true.