Skip to main content
Participant
February 18, 2022
Question

[Scripting] Is it possible to toggle environments via hotkey?

  • February 18, 2022
  • 1 reply
  • 156 views

Hello there,

I was wondering if anyone here might know if it would be possible to implement in Substance Painter a feature via scripting that'd allow the toggling of a select-few environment maps by just pressing a single hotkey, somehow?

I have no idea of even how possible it'd be to achieve something like this, and what would be required in order to do so.

Thank you for reading, and I hope you're having a nice day.

Justo

This topic has been closed for replies.

1 reply

Léna Piquet Froyok
Adobe Employee
Adobe Employee
February 25, 2022

While i'm not sure if it possible to register a custom hotkey, it is possible however to build a custom button that would cycle between env-maps. We have functions in the API that allow to change the env-map used in the Display Settings (check the API documentation) for more information.