UPhysicsConstraintTemplate

Choose your operating system:

Windows

macOS

Linux

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

Name Description

Public variable

FConstraintInst...

 

DefaultInstance

Public variable

TArray< FPhysic...

 

ProfileHandles

Handles to the constraint profiles applicable to this constraint

Constructors

Name Description

Public function

UPhysicsConstraintTemplate

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

void

 

AddConstraintProfile

(
    FName ProfileName
)

Public function Const

void

 

ApplyConstraintProfile

(
    FName ProfileName,
    FConstraintInstance& CI,
    bool bDefaultIfNotFound
)

Find profile with given name and apply it to constraint instance.

Public function Const

bool

 

ContainsConstraintProfile

(
    FName ProfileName
)

Whether the constraint template has this profile.

Public function

void

 

DuplicateConstraintProfile

(
    FName DuplicateFromName,
    FName DuplicateToName
)

Public function Const

FName

 

GetCurrentConstraintProfileName()

Public function

void

 

RemoveConstraintProfile

(
    FName ProfileName
)

Public function

void

 

RenameConstraintProfile

(
    FName CurrentName,
    FName NewName
)

Public function

void

 

SetDefaultProfile

(
    FConstraintInstance& CI
)

Copy constraint instance into default profile.

Public function

void

 

UpdateConstraintProfiles

(
    const TArray< FName >& Profiles
)

Public function

void

 

UpdateProfileInstance()

Update the profile instance if anything changes

Overridden from UObject

Name Description

Public function Virtual

void

 

PostEditChangeChainProperty

(
    FPropertyChangedChainEvent& Proper...
)

This alternate version of PostEditChange is called when properties inside structs are modified.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Called when a property on this object has been modified externally

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

Handles reading, writing, and reference collecting using FArchive.

Deprecated Variables

Name Description

Public variable

float

 

AngularBreakThreshold_DEPRECATED

Public variable

TEnumAsByte< en...

 

AngularSwing1Motion_DEPRECATED

Public variable

TEnumAsByte< en...

 

AngularSwing2Motion_DEPRECATED

Public variable

TEnumAsByte< en...

 

AngularTwistMotion_DEPRECATED

Public variable

uint32: 1

 

bAngularBreakable_DEPRECATED

Public variable

uint32: 1

 

bEnableProjection_DEPRECATED

Public variable

uint32: 1

 

bLinearBreakable_DEPRECATED

Public variable

uint32: 1

 

bLinearLimitSoft_DEPRECATED

Public variable

uint32: 1

 

bSwingLimitSoft_DEPRECATED

Public variable

uint32: 1

 

bTwistLimitSoft_DEPRECATED

Public variable

FName

 

ConstraintBone1_DEPRECATED

Public variable

FName

 

ConstraintBone2_DEPRECATED

Public variable

FName

 

JointName_DEPRECATED

Public variable

float

 

LinearBreakThreshold_DEPRECATED

Public variable

float

 

LinearLimitDamping_DEPRECATED

Public variable

float

 

LinearLimitSize_DEPRECATED

Public variable

float

 

LinearLimitStiffness_DEPRECATED

Public variable

TEnumAsByte< en...

 

LinearXMotion_DEPRECATED

Public variable

TEnumAsByte< en...

 

LinearYMotion_DEPRECATED

Public variable

TEnumAsByte< en...

 

LinearZMotion_DEPRECATED

Public variable

FVector

 

Pos1_DEPRECATED

Public variable

FVector

 

Pos2_DEPRECATED

Public variable

FVector

 

PriAxis1_DEPRECATED

Public variable

FVector

 

PriAxis2_DEPRECATED

Public variable

float

 

ProjectionAngularTolerance_DEPRECATED

Public variable

float

 

ProjectionLinearTolerance_DEPRECATED

Public variable

FVector

 

SecAxis1_DEPRECATED

Public variable

FVector

 

SecAxis2_DEPRECATED

Public variable

float

 

Swing1LimitAngle_DEPRECATED

Public variable

float

 

Swing2LimitAngle_DEPRECATED

Public variable

float

 

SwingLimitDamping_DEPRECATED

Public variable

float

 

SwingLimitStiffness_DEPRECATED

Public variable

float

 

TwistLimitAngle_DEPRECATED

Public variable

float

 

TwistLimitDamping_DEPRECATED

Public variable

float

 

TwistLimitStiffness_DEPRECATED