Rumba C++ SDK
maquina::AnimCurveFloat::Key Class Reference

An anim curve key. More...

#include <AnimCurve.h>

Classes

class  Tangent
 

Public Member Functions

MAQUINA_EXPORT Key (const Imath::V2f &key)
 Construct a key with automatic tangents. More...
 
MAQUINA_EXPORT Key (const Imath::V2f &key, const Tangent &right)
 Construct a key with the right tangent. More...
 
MAQUINA_EXPORT Key (const Imath::V2f &key, const Tangent &left, const Tangent &right)
 Construct a key with both tangents. More...
 

Public Attributes

Imath::V2f key
 The key. More...
 
Tangent left
 The left tangent. More...
 
Tangent right
 The right tangent. More...
 

Detailed Description

An anim curve key.

Constructor & Destructor Documentation

◆ Key() [1/3]

MAQUINA_EXPORT maquina::AnimCurveFloat::Key::Key ( const Imath::V2f key)

Construct a key with automatic tangents.

◆ Key() [2/3]

MAQUINA_EXPORT maquina::AnimCurveFloat::Key::Key ( const Imath::V2f key,
const Tangent right 
)

Construct a key with the right tangent.

The left tangent is the inverse of the right one.

◆ Key() [3/3]

MAQUINA_EXPORT maquina::AnimCurveFloat::Key::Key ( const Imath::V2f key,
const Tangent left,
const Tangent right 
)

Construct a key with both tangents.

The left tangent is the inverse of the right one.

Member Data Documentation

◆ key

Imath::V2f maquina::AnimCurveFloat::Key::key

The key.

◆ left

Tangent maquina::AnimCurveFloat::Key::left

The left tangent.

◆ right

Tangent maquina::AnimCurveFloat::Key::right

The right tangent.


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