friedasparagus Posted November 1, 2018 Share Posted November 1, 2018 (edited) Hello, I'm getting my knickers in a right old twist trying to set a Data Parameter. Does anyone have any insight on how to go about this? Also, is it possible to use them to store arbitrary data? Thanks! EDIT: Ended up going through HOM which made things pretty straightforward... still curious is there's another way though Edited November 1, 2018 by friedasparagus solved Quote Link to comment Share on other sites More sharing options...
MrScienceOfficer Posted November 1, 2018 Share Posted November 1, 2018 Yes you can store arbitrary data, you need to subclass PRM_DataItem, and PRM_DataFactory. Then you can allocate your DataItem, put it in a PRM_DataItemHandle and set the parm. 1 Quote Link to comment Share on other sites More sharing options...
friedasparagus Posted November 1, 2018 Author Share Posted November 1, 2018 Thanks Tom I will have to go that way after all, storing the geo via HOM is fine in the callback, but querying the stored HOU_Geometry data on every frame is more than likely too expensive for my budget! Unless I do something funky querying the stashed geo via HOM and caching the results. Which is also possible... Back to tinkering Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.