There are two types in this struct, the ‘HAPI_ParmType’ and the ‘HAPI_RampType’,
when I attempt to create the parameter UI in my app, surely I need to know the type of the parameter, but there are two types, it's confusing. What will the type(HAPI_ParmType) be if the rampType(HAPI_RampType) is HAPI_RAMPTYPE_FLOAT or HAPI_RAMPTYPE_COLOR ?
When I construct the parameter UI, should I find out the parameter is ramp or not first?
if TRUE, I create the ramp control.
if FALSE, I use the type(HAPI_ParmType) to decide what control should be created.
Is it the right order for conditional judgement?
And is the RampParm a kind of MultiParm? I want to know the relationship between this two concepts.