Appearance
MotionCurveFunctionLibrary
Lightweight helpers for evaluating runtime vector curves used by Motion camera effects.
UCurveVector Functions (Primary)
These functions work with UCurveVector asset references, which is the preferred approach for curve-driven camera effects.
| Function | Description |
|---|---|
GetCurveVectorValue(InCurve, InTime) | Evaluates UCurveVector asset at InTime and returns the resulting FVector. Returns FVector::ZeroVector if null. |
GetCurveVectorTimeRange(InCurve) | Returns the maximum end time across the X/Y/Z sub-curves. Returns 0.0 if null. |
FRuntimeVectorCurve Functions (Legacy)
These functions work with inline FRuntimeVectorCurve properties. Used for properties like CameraTargetOffset that embed curves directly rather than referencing assets.
| Function | Description |
|---|---|
GetRuntimeVectorCurveValue(InCurve, InTime) | Evaluates FRuntimeVectorCurve at InTime and returns the resulting FVector. |
GetRuntimeVectorTimeRange(InCurve) | Returns the maximum end time across the X/Y/Z sub-curves. |
Usage
These functions are primarily used by the MotionCameraComponent for camera curve evaluation:
UCurveVectorfunctions for asset-referenced curves inFCameraCurveDataFRuntimeVectorCurvefunctions for inline curves likeCameraTargetOffset
All functions are exposed to Blueprints via BlueprintPure and categorized under Motion|Curve.