- Home /
Change AnimationCurve keyframe values from script
Hi there!
I have some question regarding AnimationCurves. Our Lead Artist has a ColorCorrectionCurves component attached to the main camera, and he wants the red, green and blue curves values to change at runtime, but I'm having some trouble with this.
I've seen that it is possible to access every keyframe inside a curve and get its 'time' and 'value' properties, but I'm having some trouble modifying those.
What I basically want to do is to have predefined 2 curves (let's call them OutsideColor and InsideColor) and smoothly interpolate between their keyframes' values. Is it somehow possible?
Thanks.
Your answer
Follow this Question
Related Questions
Multiple Cars not working 1 Answer
Distribute terrain in zones 3 Answers
How to translate object using script? 1 Answer
Why is my terrain lowering when editted at runtime to raise? 0 Answers