Navigation
API > API/Plugins > API/Plugins/ControlRigSpline
References
| Module | ControlRigSpline |
| Header | /Engine/Plugins/Animation/ControlRigSpline/Source/ControlRigSpline/Public/ControlRigSplineTypes.h |
| Include | #include "ControlRigSplineTypes.h" |
Syntax
USTRUCT&40;BlueprintType&41;
struct FControlRigSpline
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< FControlRigSplineImpl > | SplineData |
Constructors
| Type | Name | Description | |
|---|---|---|---|
FControlRigSpline
(
const FControlRigSpline& InOther |
Destructors
| Type | Name | Description | |
|---|---|---|---|
Functions
| Type | Name | Description | |
|---|---|---|---|
| uint8 | GetDegree () |
Returns the degree of the spline | |
| float | LengthAtParam
(
const float InParam |
Given an InParam float in [0, 1], will return the length of the spline at that point. | |
| FVector | PositionAtParam
(
const float InParam |
Given an InParam float in [0, 1], will return the position of the spline at that point. | |
| void | SetControlPoints
(
const TArrayView< const FVector >& InPoints, |
Sets the control points in the spline. | |
| void | SetControlTransforms
(
const TArrayView< const FTransform >& InTransforms, |
Sets the control transforms in the spline. | |
| FVector | TangentAtParam
(
const float InParam |
Given an InParam float in [0, 1], will return the tangent vector of the spline at that point. | |
| FTransform | TransformAtParam
(
const float InParam |
Given an InParam float in [0, 1], will return the transform of the spline at that point. |
Operators
| Type | Name | Description | |
|---|---|---|---|
| FControlRigSpline & | operator=
(
const FControlRigSpline& InOther |