Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/Chaos
Inheritance Hierarchy
- FPBDConstraintContainer
- FPBDIndexedConstraintContainer
- TPBDIndexedConstraintContainer
- FPBDSuspensionConstraints
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/PBDSuspensionConstraints.h |
Include | #include "Chaos/PBDSuspensionConstraints.h" |
Syntax
class FPBDSuspensionConstraints : public Chaos::TPBDIndexedConstraintContainer< FPBDSuspensionConstraints >
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FPBDSuspensionConstraints
(
const FPBDSuspensionSolverSettings& InSolverSettings |
||
![]() |
FPBDSuspensionConstraints
(
TArray< FVec3 >&& Locations, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() |
void | AddBodies
(
const TArrayView< int32 >& ConstraintIndices, |
TIndexedConstraintContainerSolver API - used by World solvers |
![]() |
void | AddBodies
(
FSolverBodyContainer& SolverBodyContainer |
TSimpleConstraintContainerSolver API - used by RBAN |
![]() |
FConstraintContainerHandle * | AddConstraint
(
TGeometryParticleHandle< FReal, 3 >* Particle, |
Add a constraint. |
![]() |
void | ApplyPositionConstraints
(
const TArrayView< int32 >& ConstraintIndices, |
|
![]() |
void | ApplyPositionConstraints
(
const FReal Dt, |
|
![]() |
void | ApplyProjectionConstraints
(
const TArrayView< int32 >& ConstraintIndices, |
|
![]() |
void | ApplyProjectionConstraints
(
const FReal Dt, |
|
![]() |
void | ApplyVelocityConstraints
(
const TArrayView< int32 >& ConstraintIndices, |
|
![]() |
void | ApplyVelocityConstraints
(
const FReal Dt, |
|
![]() |
void | GatherInput
(
const TArrayView< int32 >& ConstraintIndices, |
|
![]() |
void | GatherInput
(
const FReal Dt |
|
![]() ![]() |
const FHandles & | ||
![]() ![]() |
TVec2< TGeometryParticleHandle< FReal, 3 > * > | GetConstrainedParticles
(
int32 ConstraintIndex |
Get the particles that are affected by the specified constraint. |
![]() |
FConstraintContainerHandle * | GetConstraintHandle
(
int32 ConstraintIndex |
|
![]() ![]() |
const FConstraintContainerHandle * | GetConstraintHandle
(
int32 ConstraintIndex |
|
![]() |
FHandles & | ||
![]() ![]() |
const FVec3 & | GetConstraintPosition
(
int ConstraintIndex |
Get the world-space constraint positions for each body. |
![]() ![]() |
const FPBDSuspensionResults & | GetResults
(
int32 ConstraintIndex |
|
![]() ![]() |
const FPBDSuspensionSettings & | GetSettings
(
int32 ConstraintIndex |
Constraint API |
![]() |
FPBDSuspensionSettings & | GetSettings
(
int32 ConstraintIndex |
|
![]() ![]() |
int32 | Constraint Container API Get the number of constraints. | |
![]() |
void | RemoveConstraint
(
int ConstraintIndex |
Remove a constraint. |
![]() |
void | ScatterOutput
(
const TArrayView< int32 >& ConstraintIndices, |
|
![]() |
void | ScatterOutput
(
const FReal Dt |
|
![]() |
void | SetConstraintPosition
(
const int32 ConstraintIndex, |
|
![]() |
void | SetSettings
(
int32 ConstraintIndex, |
|
![]() |
void | SetTarget
(
int32 ConstraintIndex, |
Overridden from FPBDIndexedConstraintContainer
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
bool | IsConstraintEnabled
(
int32 ConstraintIndex |
|
![]() ![]() |
void | SetConstraintEnabled
(
int32 ConstraintIndex, |
Overridden from FPBDConstraintContainer
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
void | AddConstraintsToGraph
(
Private::FPBDIslandManager& IslandManager |
Add all the constraints in the container to the graph |
![]() ![]() |
void | DisconnectConstraints
(
const TSet< TGeometryParticleHandle< FReal, 3 >* >& RemovedParticles |
Disconnect the constraints from the attached input particles. |
![]() ![]() ![]() |
int32 | FConstraintContainer Implementation | |
![]() ![]() |
void | PrepareTick () |
Called oncer per tick to initialize buffers required for the rest of the tick |
![]() ![]() |
void | Empty the constraints (must be removed from the graph first, if required) | |
![]() ![]() |
void | Should undo any allocations in PrepareTick |
Typedefs
Name | Description |
---|---|
Base | |
FConstraintContainerHandle | |
FConstraintHandleAllocator | |
FHandles |