Navigation
API > API/Runtime > API/Runtime/Chaos > API/Runtime/Chaos/FEmbeddedSpringConstraintFacade
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void Initialize
(
const FEmbeddedSpringConstraintFacade& Other, |
Initialize from another constraint. | Chaos/CollectionEmbeddedSpringConstraintFacade.h | |
void Initialize
(
const TConstArrayView< FIntVector2 >& EndPoints, |
Initialize from a list of Vertex-Vertex springs. | Chaos/CollectionEmbeddedSpringConstraintFacade.h | |
void Initialize
(
const FUintVector2& EndPointNumIndices, |
Initialize from a list of springs. | Chaos/CollectionEmbeddedSpringConstraintFacade.h |
Initialize(const FEmbeddedSpringConstraintFacade &, const int32)
Description
Initialize from another constraint.
| Name | Initialize |
| 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 Initialize
(
const FEmbeddedSpringConstraintFacade & Other,
const int32 VertexOffset
)
Initialize(const TConstArrayView< FIntVector2 > &, const TConstArrayView< float > &, const TConstArrayView< float > &, const TConstArrayView< float > &, const TConstArrayView< float > &, const FString &)
Description
Initialize from a list of Vertex-Vertex springs. 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 | Initialize |
| 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 Initialize
(
const TConstArrayView< FIntVector2 > & EndPoints,
const TConstArrayView< float > & InSpringLength,
const TConstArrayView< float > & InExtensionStiffnesWeight,
const TConstArrayView< float > & InCompressionStiffnessWeight,
const TConstArrayView< float > & InDampingWeight,
const FString & InConstraintName
)
Initialize(const FUintVector2 &, 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 > &, const FString &)
Description
Initialize from a list of springs. This is generic for any number of end point indices. If you have vertex-vertex constraints, use the Initialize 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 | Initialize |
| 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 Initialize
(
const FUintVector2 & EndPointNumIndices,
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,
const FString & InConstraintName
)