#include <CharacterGroundConstraintContainerSolver.h>
|
| | FCharacterGroundConstraintContainerSolver (FCharacterGroundConstraintContainer &InConstraintContainer, const int32 InPriority) |
| |
| | ~FCharacterGroundConstraintContainerSolver () |
| |
| virtual int32 | GetNumConstraints () const override final |
| |
| virtual void | Reset (const int32 InMaxConstraints) override final |
| |
| virtual void | AddConstraints () override final |
| | Add all constraints from the constraint container in the order that they appear there.
|
| |
| virtual void | AddConstraints (const TArrayView< Private::FPBDIslandConstraint * > &IslandConstraints) override final |
| | Add all constraints from an island (guaranteed to be from the same constraint container)
|
| |
| virtual void | AddBodies (FSolverBodyContainer &SolverBodyContainer) override final |
| | Set the bodies on the constraint from the constraint data solver.
|
| |
| virtual void | GatherInput (const FReal Dt) override final |
| | Initialize the solver from the constraint data.
|
| |
| virtual void | GatherInput (const FReal Dt, const int32 BeginIndex, const int32 EndIndex) override final |
| |
| virtual void | ScatterOutput (const FReal Dt) override final |
| | Get the solver output that will be stored per constraint - applied force and torque.
|
| |
| virtual void | ScatterOutput (const FReal Dt, const int32 BeginIndex, const int32 EndIndex) override final |
| |
| virtual void | ApplyPositionConstraints (const FReal Dt, const int32 It, const int32 NumIts) override final |
| | Apply a single position solve iteration for all constraints.
|
| |
| virtual void | ApplyVelocityConstraints (const FReal Dt, const int32 It, const int32 NumIts) override final |
| |
| virtual void | ApplyProjectionConstraints (const FReal Dt, const int32 It, const int32 NumIts) override final |
| |
| | FConstraintContainerSolver (const int32 InPriority) |
| |
| virtual | ~FConstraintContainerSolver () |
| |
| void | SetPriority (const int32 InPriority) |
| |
| int32 | GetPriority () const |
| |
| virtual void | PreApplyPositionConstraints (const FReal Dt) |
| |
| virtual void | PreApplyVelocityConstraints (const FReal Dt) |
| |
| virtual void | PreApplyProjectionConstraints (const FReal Dt) |
| |
◆ FCharacterGroundConstraintContainerSolver()
◆ ~FCharacterGroundConstraintContainerSolver()
| Chaos::Private::FCharacterGroundConstraintContainerSolver::~FCharacterGroundConstraintContainerSolver |
( |
| ) |
|
◆ AddBodies()
◆ AddConstraints() [1/2]
| void Chaos::Private::FCharacterGroundConstraintContainerSolver::AddConstraints |
( |
| ) |
|
|
finaloverridevirtual |
◆ AddConstraints() [2/2]
◆ ApplyPositionConstraints()
| void Chaos::Private::FCharacterGroundConstraintContainerSolver::ApplyPositionConstraints |
( |
const FReal |
Dt, |
|
|
const int32 |
It, |
|
|
const int32 |
NumIts |
|
) |
| |
|
finaloverridevirtual |
◆ ApplyProjectionConstraints()
| void Chaos::Private::FCharacterGroundConstraintContainerSolver::ApplyProjectionConstraints |
( |
const FReal |
Dt, |
|
|
const int32 |
It, |
|
|
const int32 |
NumIts |
|
) |
| |
|
finaloverridevirtual |
Apply a single projection solve iteration for all constraints Note: Currently not used for character ground constraints
Implements Chaos::FConstraintContainerSolver.
◆ ApplyVelocityConstraints()
| void Chaos::Private::FCharacterGroundConstraintContainerSolver::ApplyVelocityConstraints |
( |
const FReal |
Dt, |
|
|
const int32 |
It, |
|
|
const int32 |
NumIts |
|
) |
| |
|
finaloverridevirtual |
◆ GatherInput() [1/2]
| void Chaos::Private::FCharacterGroundConstraintContainerSolver::GatherInput |
( |
const FReal |
Dt | ) |
|
|
finaloverridevirtual |
◆ GatherInput() [2/2]
| void Chaos::Private::FCharacterGroundConstraintContainerSolver::GatherInput |
( |
const FReal |
Dt, |
|
|
const int32 |
BeginIndex, |
|
|
const int32 |
EndIndex |
|
) |
| |
|
finaloverridevirtual |
◆ GetNumConstraints()
| virtual int32 Chaos::Private::FCharacterGroundConstraintContainerSolver::GetNumConstraints |
( |
| ) |
const |
|
inlinefinaloverridevirtual |
◆ Reset()
| void Chaos::Private::FCharacterGroundConstraintContainerSolver::Reset |
( |
const int32 |
MaxConstraints | ) |
|
|
finaloverridevirtual |
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.
◆ ScatterOutput() [1/2]
| void Chaos::Private::FCharacterGroundConstraintContainerSolver::ScatterOutput |
( |
const FReal |
Dt | ) |
|
|
finaloverridevirtual |
◆ ScatterOutput() [2/2]
| void Chaos::Private::FCharacterGroundConstraintContainerSolver::ScatterOutput |
( |
const FReal |
Dt, |
|
|
const int32 |
BeginIndex, |
|
|
const int32 |
EndIndex |
|
) |
| |
|
finaloverridevirtual |
The documentation for this class was generated from the following files: