FloatSplineControlValues

struct FloatSplineControlValues

Public Functions

FloatSplineControlValues(float in_input, float in_output)

Creates a new FloatSplineControlValues object used to desribe control values for an individual FloatKeyframe when interpolating across a series of keyframes in a FloatSampler using Spline interpolation.

Parameters:
  • in_input – The value subtracted from the associated keyframe value to develop the input tangent.
  • in_output – The value from which the associated keyframe value is subtracted to develop the output tangent.
bool operator!=(FloatSplineControlValues const &in_that) const

Check if the source FloatSplineControlValues is different from this FloatSplineControlValues.

Parameters:in_that – The source FloatSplineControlValues to compare to this FloatSplineControlValues.
Returns:true if the objects are different, false otherwise.
bool operator==(FloatSplineControlValues const &in_that) const

Check if the source FloatSplineControlValues is equal to this FloatSplineControlValues.

Parameters:in_that – The source FloatSplineControlValues to compare to this FloatSplineControlValues.
Returns:true if the objects are equal, false otherwise.

Public Members

float input
float output