public static SetFloat ( HEU_HoudiniAsset asset, string paramName, float setValue ) : bool | ||
asset | HEU_HoudiniAsset | |
paramName | string | |
setValue | float | |
Résultat | bool |
public static bool SetFloat(HEU_HoudiniAsset asset, string paramName, float setValue)
{
if (asset == null || asset.Parameters == null)
{
return false;
}
return asset.Parameters.SetFloatParameterValue(paramName, setValue);
}