Skylicht Engine
Loading...
Searching...
No Matches
Skylicht::SInterpolatorEntry Struct Reference

One keyed interpolation value. More...

#include <Utils/CInterpolator.h>

Public Member Functions

 SInterpolatorEntry (float x)
 Construct an entry at a key position with zeroed values.
 SInterpolatorEntry ()
 Construct a zero entry.
void operator= (const SInterpolatorEntry &entry)
 Copy another entry.

Public Attributes

float X
 Key position on the X axis.
float Value [4]
 Interpolated channel values.

Detailed Description

One keyed interpolation value.

X is the key position and Value stores up to four channels depending on the interpolator type.

Constructor & Destructor Documentation

◆ SInterpolatorEntry()

Skylicht::SInterpolatorEntry::SInterpolatorEntry ( float x)
inline

Construct an entry at a key position with zeroed values.

Parameters
xKey position.

Member Function Documentation

◆ operator=()

void Skylicht::SInterpolatorEntry::operator= ( const SInterpolatorEntry & entry)
inline

Copy another entry.

Parameters
entrySource entry.

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