|
| ENGINE_API void | CopyProfilePropertiesFrom (const FConstraintProfileProperties &FromProperties) |
| |
| ENGINE_API const FPhysicsConstraintHandle & | GetPhysicsConstraintRef () const |
| |
| UE_INTERNAL void | SerializeState (Chaos::FSerializedDataBuffer &OutSerializedState, Chaos::ESerializedDataContext DataContext) |
| |
| UE_INTERNAL void | ApplySerializedState (Chaos::FSerializedDataBufferPtr &&InSerializedState, Chaos::ESerializedDataContext DataContext) |
| |
| ENGINE_API | FConstraintInstance () |
| |
| const FName & | GetChildBoneName () const |
| |
| const FName & | GetParentBoneName () const |
| |
| float | GetLinearLimit () const |
| |
| void | SetLinearLimits (ELinearConstraintMotion XConstraintType, ELinearConstraintMotion YConstraintType, ELinearConstraintMotion ZConstraintType, float InLinearLimitSize) |
| |
| ELinearConstraintMotion | GetLinearXMotion () const |
| |
| void | SetLinearXMotion (ELinearConstraintMotion XConstraintType) |
| |
| void | SetLinearXLimit (ELinearConstraintMotion XConstraintType, float InLinearLimitSize) |
| |
| ELinearConstraintMotion | GetLinearYMotion () const |
| |
| void | SetLinearYMotion (ELinearConstraintMotion YConstraintType) |
| |
| void | SetLinearYLimit (ELinearConstraintMotion YConstraintType, float InLinearLimitSize) |
| |
| ELinearConstraintMotion | GetLinearZMotion () const |
| |
| void | SetLinearZMotion (ELinearConstraintMotion ZConstraintType) |
| |
| void | SetLinearZLimit (ELinearConstraintMotion ZConstraintType, float InLinearLimitSize) |
| |
| EAngularConstraintMotion | GetAngularSwing1Motion () const |
| |
| void | SetAngularSwing1Motion (EAngularConstraintMotion MotionType) |
| |
| ENGINE_API float | GetCurrentSwing1 () const |
| |
| float | GetAngularSwing1Limit () const |
| |
| void | SetAngularSwing1Limit (EAngularConstraintMotion MotionType, float InSwing1LimitAngle) |
| |
| EAngularConstraintMotion | GetAngularSwing2Motion () const |
| |
| void | SetAngularSwing2Motion (EAngularConstraintMotion MotionType) |
| |
| ENGINE_API float | GetCurrentSwing2 () const |
| |
| float | GetAngularSwing2Limit () const |
| |
| void | SetAngularSwing2Limit (EAngularConstraintMotion MotionType, float InSwing2LimitAngle) |
| |
| EAngularConstraintMotion | GetAngularTwistMotion () const |
| |
| void | SetAngularTwistMotion (EAngularConstraintMotion MotionType) |
| |
| ENGINE_API float | GetCurrentTwist () const |
| |
| float | GetAngularTwistLimit () const |
| |
| void | SetAngularTwistLimit (EAngularConstraintMotion MotionType, float InTwistLimitAngle) |
| |
| bool | GetIsSoftLinearLimit () const |
| |
| float | GetSoftLinearLimitStiffness () const |
| |
| float | GetSoftLinearLimitDamping () const |
| |
| float | GetSoftLinearLimitRestitution () const |
| |
| float | GetSoftLinearLimitContactDistance () const |
| |
| void | SetSoftLinearLimitParams (bool bIsSoftLimit, float Stiffness, float Damping, float Restitution, float ContactDistance) |
| |
| bool | GetIsSoftTwistLimit () const |
| |
| float | GetSoftTwistLimitStiffness () const |
| |
| float | GetSoftTwistLimitDamping () const |
| |
| float | GetSoftTwistLimitRestitution () const |
| |
| float | GetSoftTwistLimitContactDistance () const |
| |
| void | SetSoftTwistLimitParams (bool bIsSoftLimit, float Stiffness, float Damping, float Restitution, float ContactDistance) |
| |
| bool | GetIsSoftSwingLimit () const |
| |
| float | GetSoftSwingLimitStiffness () const |
| |
| float | GetSoftSwingLimitDamping () const |
| |
| float | GetSoftSwingLimitRestitution () const |
| |
| float | GetSoftSwingLimitContactDistance () const |
| |
| void | SetSoftSwingLimitParams (bool bIsSoftLimit, float Stiffness, float Damping, float Restitution, float ContactDistance) |
| |
| void | SetLinearBreakable (bool bInLinearBreakable, float InLinearBreakThreshold) |
| |
| bool | IsLinearBreakable () const |
| |
| float | GetLinearBreakThreshold () const |
| |
| void | SetLinearPlasticity (bool bInLinearPlasticity, float InLinearPlasticityThreshold, EConstraintPlasticityType InLinearPlasticityType) |
| |
| bool | HasLinearPlasticity () const |
| |
| float | GetLinearPlasticityThreshold () const |
| |
| TEnumAsByte< enum EConstraintPlasticityType > | GetLinearPlasticityType () const |
| |
| void | SetContactTransferScale (float InContactTransferScale) |
| |
| float | GetContactTransferScale () const |
| |
| void | SetAngularBreakable (bool bInAngularBreakable, float InAngularBreakThreshold) |
| |
| bool | IsAngularBreakable () const |
| |
| float | GetAngularBreakThreshold () const |
| |
| void | SetAngularPlasticity (bool bInAngularPlasticity, float InAngularPlasticityThreshold) |
| |
| bool | HasAngularPlasticity () const |
| |
| float | GetAngularPlasticityThreshold () const |
| |
| ENGINE_API void | CopyConstraintGeometryFrom (const FConstraintInstance *FromInstance) |
| |
| ENGINE_API void | CopyConstraintParamsFrom (const FConstraintInstance *FromInstance) |
| |
| ENGINE_API void | CopyConstraintPhysicalPropertiesFrom (const FConstraintInstance *FromInstance, bool bKeepPosition, bool bKeepRotation) |
| |
| ENGINE_API void | GetConstraintForce (FVector &OutLinearForce, FVector &OutAngularForce) |
| |
| ENGINE_API bool | IsBroken () |
| |
| ENGINE_API void | SetLinearPositionDrive (bool bEnableXDrive, bool bEnableYDrive, bool bEnableZDrive) |
| |
| bool | IsLinearPositionDriveXEnabled () const |
| |
| bool | IsLinearPositionDriveYEnabled () const |
| |
| bool | IsLinearPositionDriveZEnabled () const |
| |
| bool | IsLinearPositionDriveEnabled () const |
| |
| ENGINE_API void | SetLinearPositionTarget (const FVector &InPosTarget) |
| |
| const FVector & | GetLinearPositionTarget () |
| |
| ENGINE_API void | SetLinearVelocityDrive (bool bEnableXDrive, bool bEnableYDrive, bool bEnableZDrive) |
| |
| bool | IsLinearVelocityDriveXEnabled () const |
| |
| bool | IsLinearVelocityDriveYEnabled () const |
| |
| bool | IsLinearVelocityDriveZEnabled () const |
| |
| bool | IsLinearVelocityDriveEnabled () const |
| |
| ENGINE_API void | SetLinearVelocityTarget (const FVector &InVelTarget) |
| |
| const FVector & | GetLinearVelocityTarget () |
| |
| ENGINE_API void | SetLinearDriveParams (float InPositionStrength, float InVelocityStrength, float InForceLimit) |
| |
| ENGINE_API void | SetLinearDriveParams (const FVector &InPositionStrength, const FVector &InVelocityStrength, const FVector &InForceLimit) |
| |
| ENGINE_API void | SetLinearDriveAccelerationMode (bool bAccelerationMode) |
| |
| ENGINE_API void | GetLinearDriveParams (float &OutPositionStrength, float &OutVelocityStrength, float &OutForceLimit) |
| |
| ENGINE_API void | GetLinearDriveParams (FVector &OutPositionStrength, FVector &OutVelocityStrength, FVector &OutForceLimit) |
| |
| ENGINE_API void | SetOrientationDriveTwistAndSwing (bool bInEnableTwistDrive, bool bInEnableSwingDrive) |
| |
| ENGINE_API void | GetOrientationDriveTwistAndSwing (bool &bOutEnableTwistDrive, bool &bOutEnableSwingDrive) |
| |
| ENGINE_API void | SetOrientationDriveSLERP (bool bInEnableSLERP) |
| |
| bool | GetOrientationDriveSLERP () |
| |
| bool | IsAngularOrientationDriveEnabled () const |
| |
| ENGINE_API void | SetAngularOrientationTarget (const FQuat &InPosTarget) |
| |
| const FRotator & | GetAngularOrientationTarget () const |
| |
| ENGINE_API void | SetAngularVelocityDriveTwistAndSwing (bool bInEnableTwistDrive, bool bInEnableSwingDrive) |
| |
| ENGINE_API void | GetAngularVelocityDriveTwistAndSwing (bool &bOutEnableTwistDrive, bool &bOutEnableSwingDrive) |
| |
| ENGINE_API void | SetAngularVelocityDriveSLERP (bool bInEnableSLERP) |
| |
| bool | GetAngularVelocityDriveSLERP () |
| |
| bool | IsAngularVelocityDriveEnabled () const |
| |
| ENGINE_API void | SetAngularVelocityTarget (const FVector &InVelTarget) |
| |
| const FVector & | GetAngularVelocityTarget () const |
| |
| ENGINE_API void | SetAngularDriveParams (float InSpring, float InDamping, float InForceLimit) |
| |
| ENGINE_API void | GetAngularDriveParams (float &OutSpring, float &OutDamping, float &OutForceLimit) const |
| |
| ENGINE_API void | SetAngularDriveMode (EAngularDriveMode::Type DriveMode) |
| |
| ENGINE_API void | SetAngularDriveAccelerationMode (bool bAccelerationMode) |
| |
| EAngularDriveMode::Type | GetAngularDriveMode () |
| |
| ENGINE_API void | SetDriveParams (const FVector &InPositionStrength, const FVector &InVelocityStrength, const FVector &InForceLimit, const FVector &InAngularSpring, const FVector &InAngularDamping, const FVector &InTorqueLimit, EAngularDriveMode::Type InAngularDriveMode) |
| |
| ENGINE_API void | UpdateLinearLimit () |
| |
| ENGINE_API void | UpdateAngularLimit () |
| |
| ENGINE_API void | SetAngularDOFLimitScale (float InSwing1LimitScale, float InSwing2LimitScale, float InTwistLimitScale) |
| |
| ENGINE_API void | SetLinearLimitSize (float NewLimitSize) |
| |
| ENGINE_API void | InitConstraint (FBodyInstance *Body1, FBodyInstance *Body2, float Scale, UObject *DebugOwner, FOnConstraintBroken InConstraintBrokenDelegate=FOnConstraintBroken(), FOnPlasticDeformation InPlasticDeformationDelegate=FOnPlasticDeformation()) |
| |
| ENGINE_API void | InitConstraint (Chaos::FPhysicsObject *Body1, Chaos::FPhysicsObject *Body2, float Scale, UObject *DebugOwner, FOnConstraintBroken InConstraintBrokenDelegate=FOnConstraintBroken(), FOnPlasticDeformation InPlasticDeformationDelegate=FOnPlasticDeformation()) |
| |
| ENGINE_API void | InitConstraint_AssumesLocked (const FPhysicsActorHandle &ActorRef1, const FPhysicsActorHandle &ActorRef2, float InScale, FOnConstraintBroken InConstraintBrokenDelegate=FOnConstraintBroken(), FOnPlasticDeformation InPlasticDeformationDelegate=FOnPlasticDeformation()) |
| |
| ENGINE_API void | InitConstraint_AssumesLocked (Chaos::FPhysicsObject *Body1, Chaos::FPhysicsObject *Body2, float InScale, FOnConstraintBroken InConstraintBrokenDelegate=FOnConstraintBroken(), FOnPlasticDeformation InPlasticDeformationDelegate=FOnPlasticDeformation()) |
| |
| ENGINE_API void | TermConstraint () |
| |
| ENGINE_API bool | IsTerminated () const |
| |
| ENGINE_API bool | IsValidConstraintInstance () const |
| |
| ENGINE_API FTransform | GetRefFrame (EConstraintFrame::Type Frame) const |
| |
| ENGINE_API void | SetRefFrame (EConstraintFrame::Type Frame, const FTransform &RefFrame) |
| |
| ENGINE_API FVector | GetConstraintLocation () |
| |
| ENGINE_API void | SetRefPosition (EConstraintFrame::Type Frame, const FVector &RefPosition) |
| |
| ENGINE_API void | SetRefOrientation (EConstraintFrame::Type Frame, const FVector &PriAxis, const FVector &SecAxis) |
| |
| bool | IsCollisionDisabled () const |
| |
| ENGINE_API void | SetDisableCollision (bool InDisableCollision) |
| |
| void | DrawConstraint (int32 ViewIndex, class FMeshElementCollector &Collector, float Scale, float LimitDrawScale, bool bDrawLimits, bool bDrawSelected, const FTransform &Con1Frame, const FTransform &Con2Frame, bool bDrawAsPoint, bool bDrawViolatedLimits) const |
| |
| void | DrawConstraint (FPrimitiveDrawInterface *PDI, float Scale, float LimitDrawScale, bool bDrawLimits, bool bDrawSelected, const FTransform &Con1Frame, const FTransform &Con2Frame, bool bDrawAsPoint, bool bDrawViolatedLimits) const |
| |
| ENGINE_API void | GetUsedMaterials (TArray< UMaterialInterface * > &Materials) |
| |
| ENGINE_API bool | Serialize (FArchive &Ar) |
| |
| bool | IsProjectionEnabled () const |
| |
| ENGINE_API void | EnableProjection () |
| |
| ENGINE_API void | DisableProjection () |
| |
| ENGINE_API void | SetProjectionParams (bool bEnableProjection, float ProjectionLinearAlpha, float ProjectionAngularAlpha, float ProjectionLinearTolerance, float ProjectionAngularTolerance) |
| |
| ENGINE_API void | GetProjectionParams (float &ProjectionLinearAlpha, float &ProjectionAngularAlpha, float &ProjectionLinearTolerance, float &ProjectionAngularTolerance) const |
| |
| ENGINE_API void | SetShockPropagationParams (bool bEnableShockPropagation, float ShockPropagationAlpha) |
| |
| ENGINE_API float | GetShockPropagationAlpha () const |
| |
| bool | IsParentDominatesEnabled () const |
| |
| ENGINE_API void | EnableParentDominates () |
| |
| ENGINE_API void | DisableParentDominates () |
| |
| ENGINE_API void | SetParentDominates (bool bParentDominates) |
| |
| bool | IsMassConditioningEnabled () const |
| |
| ENGINE_API void | EnableMassConditioning () |
| |
| ENGINE_API void | DisableMassConditioning () |
| |
| float | GetLastKnownScale () const |
| |
| ENGINE_API | FConstraintInstanceBase () |
| |
| ENGINE_API void | Reset () |
| |
| FPhysScene * | GetPhysicsScene () |
| |
| const FPhysScene * | GetPhysicsScene () const |
| |
| ENGINE_API void | SetConstraintBrokenDelegate (FOnConstraintBroken InConstraintBrokenDelegate) |
| |
| ENGINE_API void | SetConstraintViolatedDelegate (FOnConstraintViolated InConstraintViolatedDelegate) |
| |
| ENGINE_API void | SetPlasticDeformationDelegate (FOnPlasticDeformation InPlasticDeformationDelegate) |
| |
Container for a physics representation of an object.