Navigation
API > API/Plugins > API/Plugins/ControlRig
| Name | FCRSimLinearSpring |
| Type | struct |
| Header File | /Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Math/Simulation/CRSimLinearSpring.h |
| Include Path | #include "Math/Simulation/CRSimLinearSpring.h" |
Syntax
USTRUCT (BlueprintType )
struct FCRSimLinearSpring
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FCRSimLinearSpring() |
Math/Simulation/CRSimLinearSpring.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Coefficient | float | The power of this spring | Math/Simulation/CRSimLinearSpring.h |
|
| Equilibrium | float | The rest length of this spring. | Math/Simulation/CRSimLinearSpring.h |
|
| SubjectA | int32 | The first point affected by this spring | Math/Simulation/CRSimLinearSpring.h |
|
| SubjectB | int32 | The second point affected by this spring | Math/Simulation/CRSimLinearSpring.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CalculateForPoints
(
const FRigVMSimPoint& InPointA, |
Math/Simulation/CRSimLinearSpring.h |