Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Disable animation in UI slider element in After Effects SDK

Contributor ,
Apr 12, 2020 Apr 12, 2020

Hi. I have an app where I need to disable the ability to animate certain sliders. How would I proceed to do this ?

Preferably it would appear greyed out near the animation button but would still allow the user to enter a value.

Obviously once a value is entered, it would be used for the entire layer duration.

Thanks.

TOPICS
SDK
525
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 21, 2020 Apr 21, 2020
LATEST

add PF_ParamFlag_CANNOT_TIME_VARY while declaring the parameter.
it would make the parameter non-keyframable, but you can still set a constant value.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines