HoudiniEngineUnity.HEU_ParameterUtility.GetToggle C# (CSharp) Method

GetToggle() public static method

public static GetToggle ( HEU_HoudiniAsset asset, string paramName, bool &outValue ) : bool
asset HEU_HoudiniAsset
paramName string
outValue bool
return bool
	public static bool GetToggle(HEU_HoudiniAsset asset, string paramName, out bool outValue)
	{
	    outValue = false;

	    if (asset == null || asset.Parameters == null)
	    {
		return false;
	    }

	    return asset.Parameters.GetBoolParameterValue(paramName, out outValue);
	}