jerry7
May 20, 2023 19:10:22
Hi,
I noticed that the Light Object has a non-trivial default transform parameter value.
How to make it in my Object HDA?
Thanks!
tamte
May 20, 2023 19:57:24
similarly to storing the literal default value, just change from Literal to Hscript in this case, or optionally Python if you want it to default to Python expression
jerry7
May 22, 2023 00:13:39
I saw the Light Object HDA's transform parameters are greyed out and can't be edited.
How does it set the expression?
ubietyworld
May 29, 2026 21:02:17
jerry7
I saw the Light Object HDA's transform parameters are greyed out and can't be edited.
How does it set the expression?
Did you end up figuring this out? I'm running into the same issue.
ubietyworld
May 29, 2026 21:58:57
Ended up just using the OnCreate script to inject the default values every time the node is created. No idea why the locked down tx ty tz and rx ry rz so that you can't just create defaults like any other parameter.