Version: 2022.1
言語: 日本語
public void SetFloat (int nameID, float f);
public void SetFloat (string name, float f);

パラメーター

nameID The ID of the property. This is the same ID that Shader.PropertyToID returns.
name プロパティーの名前
f The new float value.

説明

Sets the value of a named float property.

Automatically changes overridden state for this property to true.