#include <ComposableCameraModifierTransition.h>
Inherits:
UObject
Stateless timing template for an in-place Modifier value transition.
This class returns only a normalized weight. Property-type interpolation lives in the camera-owned modifier runtime state. It never evaluates poses and never participates in the Evaluation Tree.
Public Attributes¶
| Return | Name | Description |
|---|---|---|
float |
Duration |
Transition duration. Zero means immediate. |
EComposableCameraModifierBlendFunction |
BlendFunction |
Timing function used to map elapsed time to normalized weight. |
float |
BlendExponent |
Exponent used by EaseIn, EaseOut, and EaseInOut. |
TObjectPtr< UCurveFloat > |
CustomCurve |
Optional normalized 0..1 curve used by CustomCurve. |
float |
DiscreteSwitchWeight |
Discrete properties switch when the evaluated weight reaches this value. |
Duration¶
float Duration = 0.25f
BlendFunction¶
EComposableCameraModifierBlendFunction BlendFunction = EComposableCameraModifierBlendFunction::SmoothStep
BlendExponent¶
float BlendExponent = 2.f
CustomCurve¶
TObjectPtr< UCurveFloat > CustomCurve
DiscreteSwitchWeight¶
float DiscreteSwitchWeight = 1.f
1 switches at the end of the transition, 0.5 switches halfway through, and
0 switches at the start.
Public Methods¶
| Return | Name | Description |
|---|---|---|
float |
EvaluateWeight const |
Evaluate the normalized transition weight for an elapsed time. |
EvaluateWeight¶
const
float EvaluateWeight(float ElapsedTime) const