Hi,
I cant find any documentation on how to change amplify motions setting at run time (blur quality level, quality steps, motion scale etc) via a script.
Where can I find information on how to do this?
Thanks.
Changing blur quality at runtime?
- Amplify_Borba
- Posts: 1239
- Joined: Mon Jul 24, 2017 9:50 am
Re: Changing blur quality at runtime?
Hello dijital, thank you for getting in touch!
You may access Amplify Motion through code directly as a camera component through GetComponent, just like any other post effect.
Feel free to check out this sample script provided above, you may add it as a component to any object present on the scene and then set it to reference the camera that has the Amplify Motion component, and during run time it will set the MotionScale to 0.
Please let me know if this helps, thanks!
You may access Amplify Motion through code directly as a camera component through GetComponent, just like any other post effect.
Feel free to check out this sample script provided above, you may add it as a component to any object present on the scene and then set it to reference the camera that has the Amplify Motion component, and during run time it will set the MotionScale to 0.
Please let me know if this helps, thanks!
Customer Relations at Amplify Creations
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!
Learn more about our offering: Amplify Creations Products
Amplify Shader Editor won the Asset Store Best Tool Award - Thank you for your support!