axis

Set the axis of the animation.

Return

This OrbitAnimation object to allow for method chaining.

Parameters

axis

The axis of animation.


Direction vector of the revolution axis (normalized internally). Example: Vector3(0f, 1f, 0f) -> orbit around the world Y axis. Avoid using (0,0,0).