HoudiniEngineUnity.HEU_ParameterUtility.SetColor C# (CSharp) Method

SetColor() public static method

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

	    return asset.Parameters.SetColorParameterValue(paramName, setValue);
	}