Navigation
API > API/Editor > API/Editor/CurveEditor > API/Editor/CurveEditor/FTangentMirrorSolver
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
bool AddTangents
(
const FCurveEditor& InCurveEditor, |
Adds tangents that are be mirrored. | Misc/Mirror/TangentMirrorSolver.h | |
bool AddTangents
(
const FCurveEditor& InCurveEditor, |
Version that allows you to do additional processing for the tangents. | Misc/Mirror/TangentMirrorSolver.h |
AddTangents(const FCurveEditor &, const FCurveModelID &, TConstArrayView< FKeyHandle >)
Description
Adds tangents that are be mirrored.
InStartY and InMiddlePointY define two imaginary, x-axis aligned lines. All keys must be between or on these two lines for the mirroring to work as expected.
| Name | AddTangents |
| Type | function |
| Header File | /Engine/Source/Editor/CurveEditor/Public/Misc/Mirror/TangentMirrorSolver.h |
| Include Path | #include "Misc/Mirror/TangentMirrorSolver.h" |
bool AddTangents
(
const FCurveEditor & InCurveEditor,
const FCurveModelID & InCurveId,
TConstArrayView< FKeyHandle > InKeys
)
Whether any of the keys can be interpolated (only user specified tangents can be interpolated).
Parameters
| Name | Remarks |
|---|---|
| InCurveEditor | Used to get and set tangent values |
| InCurveId | The curve that all keys lie on |
| InKeys | The keys whose tangents to recompute |
AddTangents(const FCurveEditor &, const FCurveModelID &, TConstArrayView< FKeyHandle >, TProcessCallback &&)
Description
Version that allows you to do additional processing for the tangents.
For example, you may want to compute falloff values for each key. In that case, you probably want to manually iterate CurveData and use the version of RecomputeMirroringParallel that allows you to interpolate tangent values further.
| Name | AddTangents |
| Type | function |
| Header File | /Engine/Source/Editor/CurveEditor/Public/Misc/Mirror/TangentMirrorSolver.h |
| Include Path | #include "Misc/Mirror/TangentMirrorSolver.h" |
template<typename TProcessCallback>
bool AddTangents
(
const FCurveEditor & InCurveEditor,
const FCurveModelID & InCurveId,
TConstArrayView< FKeyHandle > InKeys,
TProcessCallback && InProcessTangentInfo
)