Navigation
Unreal Engine C++ API Reference > Runtime > Engine > PhysicsEngine
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UPhysicsConstraintTemplate
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/PhysicsEngine/PhysicsConstraintTemplate.h |
Include | #include "PhysicsEngine/PhysicsConstraintTemplate.h" |
Syntax
class UPhysicsConstraintTemplate : public UObject
Variables
Type | Name | Description | |
---|---|---|---|
![]() |
FConstraintInstance | DefaultInstance | |
![]() |
TArray< FPhysicsConstraintProfileHandle > | ProfileHandles | Handles to the constraint profiles applicable to this constraint |
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
UPhysicsConstraintTemplate
(
const FObjectInitializer& ObjectInitializer |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddConstraintProfile
(
FName ProfileName |
|
![]() ![]() |
void | ApplyConstraintProfile
(
FName ProfileName, |
Find profile with given name and apply it to constraint instance. |
![]() ![]() |
bool | ContainsConstraintProfile
(
FName ProfileName |
Whether the constraint template has this profile. |
![]() |
void | DuplicateConstraintProfile
(
FName DuplicateFromName, |
|
![]() ![]() |
const FConstraintProfileProperties & | GetConstraintProfilePropertiesOrDefault
(
FName ProfileName |
Returns the properties associated with the named constraint profile. |
![]() ![]() |
FName | ||
![]() |
void | RemoveConstraintProfile
(
FName ProfileName |
|
![]() |
void | RenameConstraintProfile
(
FName CurrentName, |
|
![]() |
void | SetDefaultProfile
(
FConstraintInstance& CI |
Copy constraint instance into default profile. |
![]() |
void | UpdateConstraintProfiles
(
const TArray< FName >& Profiles |
|
![]() |
void | Update the profile instance if anything changes |
Overridden from UObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | PostEditChangeChainProperty
(
FPropertyChangedChainEvent& PropertyChangedEvent |
This alternate version of PostEditChange is called when properties inside structs are modified. |
![]() ![]() |
void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Called when a property on this object has been modified externally |
![]() ![]() |
void | Handles reading, writing, and reference collecting using FArchive. |
Deprecated Variables
Type | Name | Description | |
---|---|---|---|
![]() |
float | AngularBreakThreshold_DEPRECATED | |
![]() |
TEnumAsByte< enum EAngularConstraintMotion > | AngularSwing1Motion_DEPRECATED | |
![]() |
TEnumAsByte< enum EAngularConstraintMotion > | AngularSwing2Motion_DEPRECATED | |
![]() |
TEnumAsByte< enum EAngularConstraintMotion > | AngularTwistMotion_DEPRECATED | |
![]() |
uint32: 1 | bAngularBreakable_DEPRECATED | |
![]() |
uint32: 1 | bEnableProjection_DEPRECATED | |
![]() |
uint32: 1 | bLinearBreakable_DEPRECATED | |
![]() |
uint32: 1 | bLinearLimitSoft_DEPRECATED | |
![]() |
uint32: 1 | bSwingLimitSoft_DEPRECATED | |
![]() |
uint32: 1 | bTwistLimitSoft_DEPRECATED | |
![]() |
FName | ConstraintBone1_DEPRECATED | |
![]() |
FName | ConstraintBone2_DEPRECATED | |
![]() |
FName | JointName_DEPRECATED | |
![]() |
float | LinearBreakThreshold_DEPRECATED | |
![]() |
float | LinearLimitDamping_DEPRECATED | |
![]() |
float | LinearLimitSize_DEPRECATED | |
![]() |
float | LinearLimitStiffness_DEPRECATED | |
![]() |
TEnumAsByte< enum ELinearConstraintMotion > | LinearXMotion_DEPRECATED | |
![]() |
TEnumAsByte< enum ELinearConstraintMotion > | LinearYMotion_DEPRECATED | |
![]() |
TEnumAsByte< enum ELinearConstraintMotion > | LinearZMotion_DEPRECATED | |
![]() |
FVector | Pos1_DEPRECATED | |
![]() |
FVector | Pos2_DEPRECATED | |
![]() |
FVector | PriAxis1_DEPRECATED | |
![]() |
FVector | PriAxis2_DEPRECATED | |
![]() |
float | ProjectionAngularTolerance_DEPRECATED | |
![]() |
float | ProjectionLinearTolerance_DEPRECATED | |
![]() |
FVector | SecAxis1_DEPRECATED | |
![]() |
FVector | SecAxis2_DEPRECATED | |
![]() |
float | Swing1LimitAngle_DEPRECATED | |
![]() |
float | Swing2LimitAngle_DEPRECATED | |
![]() |
float | SwingLimitDamping_DEPRECATED | |
![]() |
float | SwingLimitStiffness_DEPRECATED | |
![]() |
float | TwistLimitAngle_DEPRECATED | |
![]() |
float | TwistLimitDamping_DEPRECATED | |
![]() |
float | TwistLimitStiffness_DEPRECATED |