![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
Container class for all character ground constraints on the physics thread. More...
#include <CharacterGroundConstraintContainer.h>
Inheritance diagram for Chaos::FCharacterGroundConstraintContainer:Public Types | |
| using | Base = FPBDConstraintContainer |
| using | FConstraints = TArrayView< FCharacterGroundConstraintHandle *const > |
| using | FConstConstraints = TArrayView< const FCharacterGroundConstraintHandle *const > |
Additional Inherited Members | |
Protected Attributes inherited from Chaos::FPBDConstraintContainer | |
| FConstraintHandleTypeID | ConstraintHandleType |
| int32 | ContainerId |
Container class for all character ground constraints on the physics thread.
| using Chaos::FCharacterGroundConstraintContainer::FConstConstraints = TArrayView<const FCharacterGroundConstraintHandle* const> |
| using Chaos::FCharacterGroundConstraintContainer::FConstraints = TArrayView<FCharacterGroundConstraintHandle* const> |
| Chaos::FCharacterGroundConstraintContainer::FCharacterGroundConstraintContainer | ( | ) |
|
virtual |
| FCharacterGroundConstraintHandle * Chaos::FCharacterGroundConstraintContainer::AddConstraint | ( | const FCharacterGroundConstraintSettings & | InConstraintSettings, |
| const FCharacterGroundConstraintDynamicData & | InConstraintData, | ||
| FGeometryParticleHandle * | CharacterParticle, | ||
| FGeometryParticleHandle * | GroundParticle = nullptr |
||
| ) |
|
finaloverridevirtual |
Add all the constraints in the container to the graph
Implements Chaos::FPBDConstraintContainer.
|
finaloverridevirtual |
Create a constraint solver for an Evolution with Graph support (World evolution). The system will create several of these: usually one per worker thread (Island Group) but possibly more in complex scenes where constraint coloring is being used. It will be used to solve constraints in groups, with the constraints in each group determined by the graph/islands/islandgroups.
Implements Chaos::FPBDConstraintContainer.
|
finaloverridevirtual |
Create a constraint solver for an Evolution without Graph support (RBAN evolution). There will only be one of these per scene (RBAN node) and it is used to solve all constraints in the container (serially).
Implements Chaos::FPBDConstraintContainer.
|
finaloverridevirtual |
Reimplemented from Chaos::FPBDConstraintContainer.
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinefinaloverridevirtual |
Get the number of constraints in this container (includes inactive and disabled)
Implements Chaos::FPBDConstraintContainer.
|
inline |
|
inline |
|
finaloverridevirtual |
Reimplemented from Chaos::FPBDConstraintContainer.
|
finaloverridevirtual |
Reimplemented from Chaos::FPBDConstraintContainer.
|
finaloverridevirtual |
Called oncer per tick to initialize buffers required for the rest of the tick
Implements Chaos::FPBDConstraintContainer.
| void Chaos::FCharacterGroundConstraintContainer::RemoveConstraint | ( | FCharacterGroundConstraintHandle * | Constraint | ) |
|
inlinefinaloverridevirtual |
Empty the constraints (must be removed from the graph first, if required)
Implements Chaos::FPBDConstraintContainer.
| void Chaos::FCharacterGroundConstraintContainer::SetConstraintEnabled | ( | int32 | ConstraintIndex, |
| bool | bEnabled | ||
| ) |
|
finaloverridevirtual |
Should undo any allocations in PrepareTick
Implements Chaos::FPBDConstraintContainer.