How do you get the Bump texture percent

Hi - how can my plugin get the percent set for the bump texture in RhinoCommon pls? I would have thought it would be related to Material.GetBumpTexture(), but I cannot see a method for it.

Thanks

Paul

Hi Paul,

yes, from there you can get the alpha blend values:

bump = material.GetBumpTexture()
blend_values = bump.GetAlphaBlendValues()
bump_percent = blend_values[0] * 100

Note there are multiple AlphaBlendValues

c.

That works - thank you.