Page 1 of 1

Changing blur quality at runtime?

PostPosted: Tue Jan 30, 2018 9:53 am
by dijital
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.

Re: Changing blur quality at runtime?

PostPosted: Tue Jan 30, 2018 2:55 pm
by Amplify_Borba
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.

Sample.zip
(412 Bytes) Downloaded 692 times


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!