Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FEmbeddedSpringConstraintFacade
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Append
(
const FEmbeddedSpringConstraintFacade& Other, |
Append from another constraint. Must have same ConstraintEndPointNumIndices | Chaos/CollectionEmbeddedSpringConstraintFacade.h | |
void Append
(
const TConstArrayView< FIntVector2 >& EndPoints, |
Append from a list of Vertex-Vertex springs. | Chaos/CollectionEmbeddedSpringConstraintFacade.h | |
void Append
(
const TConstArrayView< TArray< int32 > >& InSourceIndices, |
Append from a list of springs. | Chaos/CollectionEmbeddedSpringConstraintFacade.h |
Append(const FEmbeddedSpringConstraintFacade &, const int32)
Description
Append from another constraint. Must have same ConstraintEndPointNumIndices
| Name | Append |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/CollectionEmbeddedSpringConstraintFacade.h |
| Include Path | #include "Chaos/CollectionEmbeddedSpringConstraintFacade.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/CollectionEmbeddedSpringConstraintFacade.cpp |
void Append
(
const FEmbeddedSpringConstraintFacade & Other,
const int32 VertexOffset
)
Append(const TConstArrayView< FIntVector2 > &, const TConstArrayView< float > &, const TConstArrayView< float > &, const TConstArrayView< float > &, const TConstArrayView< float > &)
Description
Append from a list of Vertex-Vertex springs. Only succeeds if existing EndPointNumIndices == (1,1) Spring Indices are VerticesGroup indices. Stiffness and Damping weights are expected have a value in [0.f, 1.f]. They will be set to constant 0.f if not supplied.
| Name | Append |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/CollectionEmbeddedSpringConstraintFacade.h |
| Include Path | #include "Chaos/CollectionEmbeddedSpringConstraintFacade.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/CollectionEmbeddedSpringConstraintFacade.cpp |
void Append
(
const TConstArrayView< FIntVector2 > & EndPoints,
const TConstArrayView< float > & InSpringLength,
const TConstArrayView< float > & InExtensionStiffnesWeight,
const TConstArrayView< float > & InCompressionStiffnessWeight,
const TConstArrayView< float > & InDampingWeight
)
Append(const TConstArrayView< TArray< int32 > > &, const TConstArrayView< TArray< float > > &, const TConstArrayView< TArray< int32 > > &, const TConstArrayView< TArray< float > > &, const TConstArrayView< float > &, const TConstArrayView< float > &, const TConstArrayView< float > &, const TConstArrayView< float > &)
Description
Append from a list of springs. This is generic for any number of end point indices. If you have vertex-vertex constraints, use the Append method above which skips setting weights. Source Indices and Weights arrays are expected to be exactly EndPointNumIndices[0] long. Target Indices and Weights arrays are expected to be exactly EndPointNumIndices[1] long. Indices and Weights will be truncated or filled in with zeros if they aren't the expected length. Spring Indices are VerticesGroup indices. Stiffness and Damping weights are expected have a value in [0.f, 1.f]. They will be set to constant 0.f if not supplied.
| Name | Append |
| Type | function |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/CollectionEmbeddedSpringConstraintFacade.h |
| Include Path | #include "Chaos/CollectionEmbeddedSpringConstraintFacade.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Private/Chaos/CollectionEmbeddedSpringConstraintFacade.cpp |
void Append
(
const TConstArrayView< TArray < int32 > > & InSourceIndices,
const TConstArrayView< TArray < float > > & InSourceWeights,
const TConstArrayView< TArray < int32 > > & InTargetIndices,
const TConstArrayView< TArray < float > > & InTargetWeights,
const TConstArrayView< float > & InSpringLength,
const TConstArrayView< float > & InExtensionStiffnesWeight,
const TConstArrayView< float > & InCompressionStiffnessWeight,
const TConstArrayView< float > & InDampingWeight
)