Rebel Fork Framework
Spline.h File Reference
#include "../Core/Variant.h"
#include "../Math/Color.h"
#include "../Math/Vector2.h"
#include "../Math/Vector3.h"
#include "../Math/Vector4.h"

Classes

class  Urho3D::Spline
 Spline class to get a point on it based off the interpolation mode. More...
 

Enumerations

enum  Urho3D::InterpolationMode { Urho3D::BEZIER_CURVE = 0, Urho3D::CATMULL_ROM_CURVE, Urho3D::LINEAR_CURVE, Urho3D::CATMULL_ROM_FULL_CURVE }
 

Enumeration Type Documentation

◆ InterpolationMode

Enumerator
BEZIER_CURVE 

Bezier interpolation.

CATMULL_ROM_CURVE 

Catmull-Rom interpolation. The first and last knots control velocity and are not included on the path.

LINEAR_CURVE 

Linear interpolation.

CATMULL_ROM_FULL_CURVE 

Catmull-Rom full path interpolation. Start and end knots are duplicated or looped as necessary to move through the full path.