Motive Animation System
An open source project by FPL.
 All Classes Functions Variables Typedefs Friends Pages
motive::SplineInit Class Reference

Initialize a MotivatorNf to follow a spline. More...

#include <init.h>

Inheritance diagram for motive::SplineInit:
motive::MotivatorInit

Detailed Description

Initialize a MotivatorNf to follow a spline.

Call MotivatorNf::SetSplines() to follow predefined splines, or call MotivatorNf::SetTargets() to dynamically generate a spline that travels through several key points.

Public Member Functions

 MOTIVE_INTERFACE ()
 
 SplineInit (const Range &range)
 
const Rangerange () const
 
void set_range (const Range &r)
 
- Public Member Functions inherited from motive::MotivatorInit
 MotivatorInit (MotivatorType type)
 The derived class's constructor should set 'type'.
 
MotivatorType type () const
 
void set_type (MotivatorType type)
 

Constructor & Destructor Documentation

motive::SplineInit::SplineInit ( const Range range)
inlineexplicit
Parameters
rangeIf using modular arithmetic, the normalized range. If not using modular arithmetic, pass in an invalid range such as Range().

The documentation for this class was generated from the following file: