UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FRichCurveKey Struct Reference

#include <RichCurve.h>

Public Member Functions

 FRichCurveKey ()
 
 FRichCurveKey (float InTime, float InValue)
 
 FRichCurveKey (float InTime, float InValue, float InArriveTangent, const float InLeaveTangent, ERichCurveInterpMode InInterpMode)
 
ENGINE_API FRichCurveKey (const FInterpCurvePoint< float > &InPoint)
 
ENGINE_API FRichCurveKey (const FInterpCurvePoint< FVector2D > &InPoint, int32 ComponentIndex)
 
ENGINE_API FRichCurveKey (const FInterpCurvePoint< FVector > &InPoint, int32 ComponentIndex)
 
ENGINE_API FRichCurveKey (const FInterpCurvePoint< FTwoVectors > &InPoint, int32 ComponentIndex)
 
ENGINE_API bool Serialize (FArchive &Ar)
 
ENGINE_API bool operator== (const FRichCurveKey &Other) const
 
ENGINE_API bool operator!= (const FRichCurveKey &Other) const
 

Public Attributes

TEnumAsByte< ERichCurveInterpModeInterpMode
 
TEnumAsByte< ERichCurveTangentModeTangentMode
 
TEnumAsByte< ERichCurveTangentWeightModeTangentWeightMode
 
float Time
 
float Value
 
float ArriveTangent
 
float ArriveTangentWeight
 
float LeaveTangent
 
float LeaveTangentWeight
 

Friends

FArchiveoperator<< (FArchive &Ar, FRichCurveKey &P)
 

Detailed Description

One key in a rich, editable float curve

Constructor & Destructor Documentation

◆ FRichCurveKey() [1/7]

FRichCurveKey::FRichCurveKey ( )
inline

◆ FRichCurveKey() [2/7]

FRichCurveKey::FRichCurveKey ( float  InTime,
float  InValue 
)
inline

◆ FRichCurveKey() [3/7]

FRichCurveKey::FRichCurveKey ( float  InTime,
float  InValue,
float  InArriveTangent,
const float  InLeaveTangent,
ERichCurveInterpMode  InInterpMode 
)
inline

◆ FRichCurveKey() [4/7]

FRichCurveKey::FRichCurveKey ( const FInterpCurvePoint< float > &  InPoint)

Conversion constructor

◆ FRichCurveKey() [5/7]

FRichCurveKey::FRichCurveKey ( const FInterpCurvePoint< FVector2D > &  InPoint,
int32  ComponentIndex 
)

◆ FRichCurveKey() [6/7]

FRichCurveKey::FRichCurveKey ( const FInterpCurvePoint< FVector > &  InPoint,
int32  ComponentIndex 
)

◆ FRichCurveKey() [7/7]

FRichCurveKey::FRichCurveKey ( const FInterpCurvePoint< FTwoVectors > &  InPoint,
int32  ComponentIndex 
)

Member Function Documentation

◆ operator!=()

bool FRichCurveKey::operator!= ( const FRichCurveKey Other) const

◆ operator==()

bool FRichCurveKey::operator== ( const FRichCurveKey Other) const

◆ Serialize()

bool FRichCurveKey::Serialize ( FArchive Ar)

ICPPStructOps interface

Friends And Related Symbol Documentation

◆ operator<<

FArchive & operator<< ( FArchive Ar,
FRichCurveKey P 
)
friend

Member Data Documentation

◆ ArriveTangent

float FRichCurveKey::ArriveTangent

If RCIM_Cubic, the arriving tangent at this key

◆ ArriveTangentWeight

float FRichCurveKey::ArriveTangentWeight

If RCTWM_WeightedArrive or RCTWM_WeightedBoth, the weight of the left tangent

◆ InterpMode

TEnumAsByte<ERichCurveInterpMode> FRichCurveKey::InterpMode

Interpolation mode between this key and the next

◆ LeaveTangent

float FRichCurveKey::LeaveTangent

If RCIM_Cubic, the leaving tangent at this key

◆ LeaveTangentWeight

float FRichCurveKey::LeaveTangentWeight

If RCTWM_WeightedLeave or RCTWM_WeightedBoth, the weight of the right tangent

◆ TangentMode

TEnumAsByte<ERichCurveTangentMode> FRichCurveKey::TangentMode

Mode for tangents at this key

◆ TangentWeightMode

TEnumAsByte<ERichCurveTangentWeightMode> FRichCurveKey::TangentWeightMode

If either tangent at this key is 'weighted'

◆ Time

float FRichCurveKey::Time

Time at this key

◆ Value

float FRichCurveKey::Value

Value at this key


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