Ark Server API (ASA) - Wiki
|
#include <InterpCurvePoint.h>
Public Member Functions | |
FInterpCurvePoint () | |
FInterpCurvePoint (const float In, const T &Out) | |
FInterpCurvePoint (const float In, const T &Out, const T &InArriveTangent, const T &InLeaveTangent, const EInterpCurveMode InInterpMode) | |
FORCEINLINE | FInterpCurvePoint (EForceInit) |
FORCEINLINE bool | IsCurveKey () const |
Public Attributes | |
float | InVal |
T | OutVal |
T | ArriveTangent |
T | LeaveTangent |
TEnumAsByte< EInterpCurveMode > | InterpMode |
Friends | |
FArchive & | operator<< (FArchive &Ar, FInterpCurvePoint &Point) |
bool | operator== (const FInterpCurvePoint &Point1, const FInterpCurvePoint &Point2) |
bool | operator!= (const FInterpCurvePoint &Point1, const FInterpCurvePoint &Point2) |
Template for interpolation points.
Interpolation points are used for describing the shape of interpolation curves.
Definition at line 50 of file InterpCurvePoint.h.
|
inline |
Default constructor (no initialization).
Definition at line 74 of file InterpCurvePoint.h.
FORCEINLINE FInterpCurvePoint< T >::FInterpCurvePoint | ( | const float | In, |
const T & | Out ) |
Constructor
In | input value that corresponds to this key |
Out | Output value of templated type |
Definition at line 152 of file InterpCurvePoint.h.
FORCEINLINE FInterpCurvePoint< T >::FInterpCurvePoint | ( | const float | In, |
const T & | Out, | ||
const T & | InArriveTangent, | ||
const T & | InLeaveTangent, | ||
const EInterpCurveMode | InInterpMode ) |
Constructor
In | input value that corresponds to this key |
Out | Output value of templated type |
InArriveTangent | Tangent of curve arriving at this point. |
InLeaveTangent | Tangent of curve leaving from this point. |
InInterpMode | interpolation mode to use |
Definition at line 164 of file InterpCurvePoint.h.
|
explicit |
Constructor which initializes all components to zero.
EForceInit | Force init enum |
Definition at line 173 of file InterpCurvePoint.h.
FORCEINLINE bool FInterpCurvePoint< T >::IsCurveKey | ( | ) | const |
Definition at line 183 of file InterpCurvePoint.h.
|
friend |
Compare inequality of two Curve Points
Definition at line 141 of file InterpCurvePoint.h.
Serializes the Curve Point.
Ar | Reference to the serialization archive. |
Point | Reference to the curve point being serialized. |
Definition at line 118 of file InterpCurvePoint.h.
|
friend |
Compare equality of two Curve Points
Definition at line 129 of file InterpCurvePoint.h.
T FInterpCurvePoint< T >::ArriveTangent |
Tangent of curve arrive this point.
Definition at line 61 of file InterpCurvePoint.h.
TEnumAsByte<EInterpCurveMode> FInterpCurvePoint< T >::InterpMode |
Interpolation mode between this point and the next one.
Definition at line 67 of file InterpCurvePoint.h.
float FInterpCurvePoint< T >::InVal |
Float input value that corresponds to this key (eg. time).
Definition at line 55 of file InterpCurvePoint.h.
T FInterpCurvePoint< T >::LeaveTangent |
Tangent of curve leaving this point.
Definition at line 64 of file InterpCurvePoint.h.
T FInterpCurvePoint< T >::OutVal |
Output value of templated type when input is equal to InVal.
Definition at line 58 of file InterpCurvePoint.h.