public static SetToggle ( HEU_HoudiniAsset asset, string paramName, bool setValue ) : bool | ||
asset | HEU_HoudiniAsset | |
paramName | string | |
setValue | bool | |
return | bool |
public static bool SetToggle(HEU_HoudiniAsset asset, string paramName, bool setValue)
{
if (asset == null || asset.Parameters == null)
{
return false;
}
return asset.Parameters.SetBoolParameterValue(paramName, setValue);
}