Module Osg.Animation_path


module Animation_path: sig .. end
Osg.Animation_path encapsulates a time varying transformation pathway.

Can be used for updating camera position and model object position. Animation_path_callback can be attached directly to Osg.Transform.t nodes to move subgraphs around the scene.


type t 
osg::AnimationPah holder.
module Control_point: sig .. end

type loop_mode =
| SWING
| LOOP
| NO_LOOPING
val create' : unit -> t
val insert : t -> float -> Control_point.t -> unit
val set_loop_mode : t -> loop_mode -> unit
val get_interpolated_control_point : t -> float -> Control_point.t
val create : ?loop_mode:loop_mode ->
control_points:(float * Control_point.t) list ->
t