Navigation
API > API/Runtime > API/Runtime/GeometryCore
Policy for turning tangents into Bezier P1/P2 and computing auto tangents
| Name | TTangentOps |
| Type | struct |
| Header File | /Engine/Source/Runtime/GeometryCore/Public/Splines/TangentsPolicy.h |
| Include Path | #include "Splines/TangentsPolicy.h" |
Syntax
template<typename T>
struct TTangentOps
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| bContig | bool | Splines/TangentsPolicy.h | |
| bQuat | bool | Splines/TangentsPolicy.h |
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static void ComputeAutoTangent
(
float PrevTime, |
Compute auto/auto-clamped tangent | Splines/TangentsPolicy.h | |
static T P1ToTangentOut
(
const T& P0, |
P1 to tangent out | Splines/TangentsPolicy.h | |
static T P2ToTangentIn
(
const T& P3, |
P2 to tangent in | Splines/TangentsPolicy.h | |
static T TangentInToP2
(
const T& P3, |
Turn in tangents into the cubic’s P2 control (Bezier) | Splines/TangentsPolicy.h | |
static T TangentOutToP1
(
const T& P0, |
Turn out tangents into the cubic’s P1 control (Bezier) | Splines/TangentsPolicy.h |