Modify frequency values in CameraShake?

I wish to dynamically modify a CameraShake instance’s frequency values (within both RotOscillation and LocOscillation). For example, a given CameraShake’s frequency may increase over the course of its oscillation to represent a faster oscillation.

In my case, I am using CameraShake instances to portray a character’s movement “bobbing” and I want to increase the frequency based on the player movement speed so the bobbing is faster.

I can’t seem to figure out how to modify these frequency values. Is this even possible?

I was about to make my own thread with this question, but figured out the answer. I’ve seen this asked a few places but never an answer so I’ll put the answer here since this is first thread that appeared in the search.


or