Navigation
API > API/Runtime > API/Runtime/Engine
Cone constraint
| Name | FConeConstraint |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/ConstraintTypes.h |
| Include Path | #include "PhysicsEngine/ConstraintTypes.h" |
Syntax
USTRUCT ()
struct FConeConstraint : public FConstraintBaseParams
Inheritance Hierarchy
- FConstraintBaseParams → FConeConstraint
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FConeConstraint() |
PhysicsEngine/ConstraintTypes.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Swing1LimitDegrees | float | Angle of movement along the XY plane. This defines the first symmetric angle of the cone. | PhysicsEngine/ConstraintTypes.h |
|
| Swing1Motion | TEnumAsByte< enum EAngularConstraintMotion > | Indicates whether the Swing1 limit is used. | PhysicsEngine/ConstraintTypes.h |
|
| Swing2LimitDegrees | float | Angle of movement along the XZ plane. This defines the second symmetric angle of the cone. | PhysicsEngine/ConstraintTypes.h |
|
| Swing2Motion | TEnumAsByte< enum EAngularConstraintMotion > | Indicates whether the Swing2 limit is used. | PhysicsEngine/ConstraintTypes.h |
|
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void UpdateConeLimit_AssumesLocked
(
const FPhysicsConstraintHandle& InConstraintRef, |
Updates cone limit from unreal data. | PhysicsEngine/ConstraintTypes.h |