HoudiniEngineUnity.HEU_ParameterUtility.GetColor C# (CSharp) Méthode

GetColor() public static méthode

public static GetColor ( HEU_HoudiniAsset asset, string paramName, Color &getValue ) : bool
asset HEU_HoudiniAsset
paramName string
getValue Color
Résultat bool
	public static bool GetColor(HEU_HoudiniAsset asset, string paramName, out Color getValue)
	{
	    getValue = Color.black;

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

	    return asset.Parameters.GetColorParameterValue(paramName, out getValue);
	}