Appearance
MotionCurveFunctionLibrary
Lightweight helpers for evaluating runtime vector curves used by Motion camera effects.
UCurveVector Functions
These functions work with UCurveVector asset references, which are preferred for curve-driven camera effects.
GetCurveVectorValue(InCurve, InTime)
Evaluates a UCurveVector asset at InTime and returns the resulting FVector.
Returns: FVector::ZeroVector when InCurve is null.
GetCurveVectorTimeRange(InCurve)
Returns the maximum end time across the X, Y, and Z sub-curves.
Returns: 0.0 when InCurve is null.
FRuntimeVectorCurve Functions
These functions work with inline FRuntimeVectorCurve properties. They are used for properties such as CameraTargetOffset that embed curves directly instead of referencing assets.
GetRuntimeVectorCurveValue(InCurve, InTime)
Evaluates an FRuntimeVectorCurve at InTime and returns the resulting FVector.
Usage
MotionCameraComponent uses these helpers for camera curve evaluation:
UCurveVectorfunctions evaluate asset-referenced curves inFCameraCurveData.FRuntimeVectorCurvefunctions evaluate inline curves such asCameraTargetOffset.
All functions are exposed to Blueprints with BlueprintPure and are categorized under Motion|Curve.