public static GetColor ( HEU_HoudiniAsset asset, string paramName, Color &getValue ) : bool | ||
asset | HEU_HoudiniAsset | |
paramName | string | |
getValue | Color | |
return | 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);
}