![]() |
UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
|
#include <ABTestingConstraintContainerSolver.h>
Inheritance diagram for Chaos::Private::TABTestingConstraintContainerSolver< T1, T2 >:Public Types | |
| enum class | ESolverPhase { PreApplyPositionConstraints , PostApplyPositionConstraints , PreApplyVelocityConstraints , PostApplyVelocityConstraints , PreApplyProjectionConstraints , PostApplyProjectionConstraints } |
| using | FContainerSolverTypeA = T1 |
| using | FContainerSolverTypeB = T2 |
| using | FABTestFunctor = std::function< void(const ESolverPhase Phase, const FContainerSolverTypeA &SolverA, const FContainerSolverTypeB &SolverB, const FSolverBodyContainer &SolverBodyContainerA, const FSolverBodyContainer &SolverBodyContainerB)> |
Protected Member Functions | |
| void | CallABTestFunctor (const ESolverPhase Phase) |
Used for testing a new solver that is supposed to produce the same output as anotehr solver. E.g., for testing the Simd version of a solver against the non-simd version.
The first solver passed in is assumed to be the reference - its results will be used to generate the outputs. The second solver results will be compared and discarded.
| using Chaos::Private::TABTestingConstraintContainerSolver< T1, T2 >::FABTestFunctor = std::function<void( const ESolverPhase Phase, const FContainerSolverTypeA& SolverA, const FContainerSolverTypeB& SolverB, const FSolverBodyContainer& SolverBodyContainerA, const FSolverBodyContainer& SolverBodyContainerB)> |
| using Chaos::Private::TABTestingConstraintContainerSolver< T1, T2 >::FContainerSolverTypeA = T1 |
| using Chaos::Private::TABTestingConstraintContainerSolver< T1, T2 >::FContainerSolverTypeB = T2 |
|
inline |
|
inlinefinaloverridevirtual |
Add all the required bodies to the body container (required for the constraints added with AddConstraints)
Implements Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
RBAN API. Add all (active) constraints to the solver.
Implements Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Island API. Add a set of constraints to the solver. This can be called multiple times: once for each island in an IslandGroup, but there will never be more constraints added than specified in Reset(). NOTE: this should not do any actual data gathering - it should just add to the list of constraints in this group. All data gathering is handled in GatherInput.
Implements Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Apply the position solve to all constraints in the container
Implements Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Apply the projection solve to all constraints in the container
Implements Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Apply the velocity solve to all constraints in the container
Implements Chaos::FConstraintContainerSolver.
|
inlineprotected |
|
inlinefinaloverridevirtual |
Implements Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Implements Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Implements Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Reimplemented from Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Reimplemented from Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Reimplemented from Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Set the maximum number of constraints the solver will have to handle. This will be called only once per tick, so containers resized here will not have to resize again this tick so that pointers to elements in the container will remain valid for the tick (but not beyond).
Implements Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Implements Chaos::FConstraintContainerSolver.
|
inlinefinaloverridevirtual |
Implements Chaos::FConstraintContainerSolver.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |