How To Use: Evaluatepointwattrib

   2178   0   2
User Avatar
Member
82 posts
Joined: 4月 2019
Offline
HI Everybody….

I want to make my own fur system. For that I want to transfer scale attribute from skin to the fur.
I used evaluatePoint and evaluateNormalVector and they work just fine.
But I don't know how to use “evaluatePointWAttrib” to get the value of custom attribute at uv position.

Docs say:

evaluatePointWAttrib(UT_Vector4 &pos, GB_AttributeData &adata, const GB_FloatOffsets &foffsets, float u_unit, float=0, unsigned du = 0, unsigned = 0)

But how to get pointer to GB_AttributeData and GB_FloatOffsets

Plz Help….
iamjaideep80 (Jaideep Khadilkar)
  • Quick Links