Skip to main content
Participant
Feb 18, 2022 10:19 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

1 reply

Léna Piquet Froyok
Adobe Employee
Adobe Employee
Feb 25, 2022 4:36 PM UTC

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.

Translate