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

VFXEventAttribute.SetFloat

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

Parameters

nameIDThe name ID of the property retrieved by Shader.PropertyToID.
nameThe name of the property.
fThe new float value.

Description

Sets a named float value.

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