@binigya wrote:
Hi,
So, I have a CRhinoMaterial, and would like to know if it has an emissive property or not.
What would be the correct way of doing this?
Is this pseudo-code okay :
ON_Color rhinoColorEmissive = currentMaterial.Emission(); if (rhinoColorEmissive != NULL) { // THe material contains emission ? }
Is this the way to proceed ? Thanks!
Posts: 2
Participants: 2