UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::Softs::TParticlesRange< ParticlesType, typename > Class Template Reference

#include <ParticlesRange.h>

Public Member Functions

 TParticlesRange ()=default
 
virtual ~TParticlesRange ()=default
 
 TParticlesRange (ParticlesType *InParticles, int32 InOffset, int32 InRangeSize, int32 InRangeId=INDEX_NONE)
 
bool IsValid () const
 
template<typename T >
TConstArrayView< T > GetConstArrayView (const TArray< T > &Array) const
 
template<typename T >
TArrayView< T > GetArrayView (TArray< T > &Array) const
 
const ParticlesType & GetParticles () const
 
ParticlesType & GetParticles ()
 
int32 GetOffset () const
 
int32 GetRangeSize () const
 
int32 Size () const
 
bool IsValidIndex (int32 Index) const
 
int32 GetRangeId () const
 

Static Public Member Functions

static TParticlesRange AddParticleRange (ParticlesType &InParticles, const int32 InRangeSize, const int32 InRangeId=INDEX_NONE)
 

Protected Attributes

ParticlesType * Particles = nullptr
 
int32 Offset = INDEX_NONE
 
int32 RangeSize = 0
 
int32 RangeId = INDEX_NONE
 

Constructor & Destructor Documentation

◆ TParticlesRange() [1/2]

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
Chaos::Softs::TParticlesRange< ParticlesType, typename >::TParticlesRange ( )
default

◆ ~TParticlesRange()

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
virtual Chaos::Softs::TParticlesRange< ParticlesType, typename >::~TParticlesRange ( )
virtualdefault

◆ TParticlesRange() [2/2]

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
Chaos::Softs::TParticlesRange< ParticlesType, typename >::TParticlesRange ( ParticlesType *  InParticles,
int32  InOffset,
int32  InRangeSize,
int32  InRangeId = INDEX_NONE 
)
inline

Member Function Documentation

◆ AddParticleRange()

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
static TParticlesRange Chaos::Softs::TParticlesRange< ParticlesType, typename >::AddParticleRange ( ParticlesType &  InParticles,
const int32  InRangeSize,
const int32  InRangeId = INDEX_NONE 
)
inlinestatic

◆ GetArrayView()

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
template<typename T >
TArrayView< T > Chaos::Softs::TParticlesRange< ParticlesType, typename >::GetArrayView ( TArray< T > &  Array) const
inline

◆ GetConstArrayView()

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
template<typename T >
TConstArrayView< T > Chaos::Softs::TParticlesRange< ParticlesType, typename >::GetConstArrayView ( const TArray< T > &  Array) const
inline

◆ GetOffset()

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
int32 Chaos::Softs::TParticlesRange< ParticlesType, typename >::GetOffset ( ) const
inline

◆ GetParticles() [1/2]

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
ParticlesType & Chaos::Softs::TParticlesRange< ParticlesType, typename >::GetParticles ( )
inline

◆ GetParticles() [2/2]

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
const ParticlesType & Chaos::Softs::TParticlesRange< ParticlesType, typename >::GetParticles ( ) const
inline

◆ GetRangeId()

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
int32 Chaos::Softs::TParticlesRange< ParticlesType, typename >::GetRangeId ( ) const
inline

◆ GetRangeSize()

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
int32 Chaos::Softs::TParticlesRange< ParticlesType, typename >::GetRangeSize ( ) const
inline

◆ IsValid()

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
bool Chaos::Softs::TParticlesRange< ParticlesType, typename >::IsValid ( ) const
inline

◆ IsValidIndex()

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
bool Chaos::Softs::TParticlesRange< ParticlesType, typename >::IsValidIndex ( int32  Index) const
inline

◆ Size()

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
int32 Chaos::Softs::TParticlesRange< ParticlesType, typename >::Size ( ) const
inline

Member Data Documentation

◆ Offset

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
int32 Chaos::Softs::TParticlesRange< ParticlesType, typename >::Offset = INDEX_NONE
protected

◆ Particles

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
ParticlesType* Chaos::Softs::TParticlesRange< ParticlesType, typename >::Particles = nullptr
protected

◆ RangeId

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
int32 Chaos::Softs::TParticlesRange< ParticlesType, typename >::RangeId = INDEX_NONE
protected

◆ RangeSize

template<typename ParticlesType , typename = typename TEnableIf<TIsDerivedFrom<ParticlesType, TParticles<FSolverReal, 3>>::IsDerived>::Type>
int32 Chaos::Softs::TParticlesRange< ParticlesType, typename >::RangeSize = 0
protected

The documentation for this class was generated from the following file: