HDK Multi-line String

   2684   2   0
User Avatar
Member
255 posts
Joined: Aug. 2009
Offline
Hi,
In “Edit parameter interface” We can create “Multi-line String”, but I can not find how I can achieve it in HDK??

Thanks,
Milan
https://vimeo.com/user3251535 [vimeo.com]
https://twitter.com/milansuk [twitter.com]
https://github.com/milansuk [github.com]
User Avatar
Member
1920 posts
Joined: Nov. 2006
Offline
You can pass PRM_SpareData::stringEditor as the spare data to your PRM_Template to create a multi-line string field.
Graham Thompson, Technical Artist @ Rockstar Games
User Avatar
Member
255 posts
Joined: Aug. 2009
Offline
thanks Graham,
It's working fine!

My code:
PRM_Template(PRM_STRING, 1, &name, 0, 0, 0, 0, &PRM_SpareData::stringEditor),
https://vimeo.com/user3251535 [vimeo.com]
https://twitter.com/milansuk [twitter.com]
https://github.com/milansuk [github.com]
  • Quick Links