PROgram52bc / COS350_P04_Animation

An frame animator with parallelized ray tracer
0 stars 0 forks source link

Defining custom AnimatedProperty class has caveat #3

Open PROgram52bc opened 3 years ago

PROgram52bc commented 3 years ago

There is no guarantee that the custom AnimatedProperty child class will use a certain convention, and one would have to look for the source code or documentation to use any customized AnimatedProperty.

        self.register_child_property(
            'velocity',
            LerpValue(
                start_velocity,
                acceleration,
                max_frame))

For example, in this case, it is difficult to know the actual child_property names for the 'velocity' property registered.