This version of Unity is unsupported.
Experimental: this API is experimental and might be changed or removed in the future.

VFXEventAttribute.SetFloat

Declaration

public void SetFloat(int nameID, float f);

Declaration

public void SetFloat(string name, float f);

Parameters

nameID The name ID of the property retrieved by Shader.PropertyToID.
name The name of the property.
f The new float value.

Description

Sets a named float value.