HoudiniEngineUnity.HEU_ParameterUtility.SetToggle C# (CSharp) Метод

SetToggle() публичный статический Метод

public static SetToggle ( HEU_HoudiniAsset asset, string paramName, bool setValue ) : bool
asset HEU_HoudiniAsset
paramName string
setValue bool
Результат 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);
	}