|
| CHAOS_API | FCollectionPropertyMutableFacade (const TSharedPtr< FManagedArrayCollection > &InManagedArrayCollection) |
| |
| virtual | ~FCollectionPropertyMutableFacade ()=default |
| |
| | FCollectionPropertyMutableFacade ()=delete |
| |
| | FCollectionPropertyMutableFacade (const FCollectionPropertyMutableFacade &)=delete |
| |
| FCollectionPropertyMutableFacade & | operator= (const FCollectionPropertyMutableFacade &)=delete |
| |
| | FCollectionPropertyMutableFacade (FCollectionPropertyMutableFacade &&)=default |
| |
| FCollectionPropertyMutableFacade & | operator= (FCollectionPropertyMutableFacade &&)=default |
| |
| CHAOS_API void | DefineSchema () |
| |
| CHAOS_API int32 | AddProperty (const FName &Key, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | AddProperty (const StringType Key, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| CHAOS_API int32 | AddProperty (const FName &Key, bool bEnabled, bool bAnimatable=false, bool bIntrinsic=false) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | AddProperty (const StringType Key, bool bEnabled, bool bAnimatable=false, bool bIntrinsic=false) |
| |
| CHAOS_API int32 | AddProperties (const TArray< FName > &Keys, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | AddProperties (const TArray< StringType > &InKeys, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| CHAOS_API int32 | AddProperties (const TArray< FName > &Keys, bool bEnabled, bool bAnimatable=false, bool bIntrinsic=false) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | AddProperties (const TArray< StringType > &InKeys, bool bEnabled, bool bAnimatable=false, bool bIntrinsic=false) |
| |
| CHAOS_API void | Append (const TSharedPtr< const FManagedArrayCollection > &InManagedArrayCollection, bool bUpdateExistingProperties) |
| |
| CHAOS_API void | Copy (const FManagedArrayCollection &InManagedArrayCollection) |
| |
| CHAOS_API void | Update (const TSharedPtr< const FManagedArrayCollection > &InManagedArrayCollection, ECollectionPropertyUpdateFlags UpdateFlags) |
| |
| template<typename T UE_REQUIRES> |
| int32 | AddWeightedValue (const FName &Key, const T &LowValue, const T &HighValue, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| template<typename T UE_REQUIRES> |
| int32 | AddWeightedValue (const FName &Key, const T &LowValue, const T &HighValue, bool bEnabled, bool bAnimatable=false, bool bIntrinsic=false) |
| |
| CHAOS_API int32 | AddWeightedFloatValue (const FName &Key, const FVector2f &Value, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| CHAOS_API int32 | AddWeightedFloatValue (const FName &Key, const FVector2f &Value, bool bEnabled, bool bAnimatable, bool bIntrinsic=false) |
| |
| template<typename T UE_REQUIRES> |
| int32 | AddValue (const FName &Key, const T &Value, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| template<typename T UE_REQUIRES> |
| int32 | AddValue (const FName &Key, const T &Value, bool bEnabled, bool bAnimatable=false) |
| |
| CHAOS_API int32 | AddStringValue (const FName &Key, const FString &Value, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| CHAOS_API int32 | AddStringValue (const FName &Key, const FString &Value, bool bEnabled, bool bAnimatable=false, bool bIntrinsic=false) |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| int32 | AddWeightedValue (const StringType Key, const T &LowValue, const T &HighValue, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| int32 | AddWeightedValue (const StringType Key, const T &LowValue, const T &HighValue, bool bEnabled, bool bAnimatable=false, bool bIntrinsic=false) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | AddWeightedFloatValue (const StringType Key, const FVector2f &Value, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | AddWeightedFloatValue (const StringType Key, const FVector2f &Value, bool bEnabled, bool bAnimatable, bool bIntrinsic=false) |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| int32 | AddValue (const StringType Key, const T &Value, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| int32 | AddValue (const StringType Key, const T &Value, bool bEnabled, bool bAnimatable=false) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | AddStringValue (const StringType Key, const FString &Value, ECollectionPropertyFlags Flags=ECollectionPropertyFlags::Enabled) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | AddStringValue (const StringType Key, const FString &Value, bool bEnabled, bool bAnimatable=false, bool bIntrinsic=false) |
| |
| CHAOS_API void | PostSerialize (const FArchive &Ar) |
| |
| CHAOS_API | FCollectionPropertyFacade (const TSharedPtr< FManagedArrayCollection > &InManagedArrayCollection) |
| |
| virtual | ~FCollectionPropertyFacade ()=default |
| |
| | FCollectionPropertyFacade ()=delete |
| |
| | FCollectionPropertyFacade (const FCollectionPropertyFacade &)=delete |
| |
| FCollectionPropertyFacade & | operator= (const FCollectionPropertyFacade &)=delete |
| |
| | FCollectionPropertyFacade (FCollectionPropertyFacade &&)=default |
| |
| FCollectionPropertyFacade & | operator= (FCollectionPropertyFacade &&)=default |
| |
| template<typename T UE_REQUIRES> |
| void | SetLowValue (int32 KeyIndex, const T &Value) |
| |
| template<typename T UE_REQUIRES> |
| void | SetHighValue (int32 KeyIndex, const T &Value) |
| |
| template<typename T UE_REQUIRES> |
| void | SetWeightedValue (int32 KeyIndex, const T &LowValue, const T &HighValue) |
| |
| void | SetWeightedFloatValue (int32 KeyIndex, const FVector2f &Value) |
| |
| template<typename T UE_REQUIRES> |
| void | SetValue (int32 KeyIndex, const T &Value) |
| |
| void | SetStringValue (int32 KeyIndex, const FString &Value) |
| |
| CHAOS_API void | SetFlags (int32 KeyIndex, ECollectionPropertyFlags Flags) |
| |
| void | SetEnabled (int32 KeyIndex, bool bEnabled) |
| |
| void | SetAnimatable (int32 KeyIndex, bool bAnimatable) |
| |
| void | SetLegacy (int32 KeyIndex, bool bLegacy) |
| |
| void | SetIntrinsic (int32 KeyIndex) |
| |
| void | SetDirty (int32 KeyIndex) |
| |
| void | SetStringDirty (int32 KeyIndex) |
| |
| void | SetInterpolable (int32 KeyIndex) |
| |
| template<typename T UE_REQUIRES> |
| int32 | SetLowValue (const FName &Key, const T &Value) |
| |
| template<typename T UE_REQUIRES> |
| int32 | SetHighValue (const FName &Key, const T &Value) |
| |
| template<typename T UE_REQUIRES> |
| int32 | SetWeightedValue (const FName &Key, const T &LowValue, const T &HighValue) |
| |
| int32 | SetWeightedFloatValue (const FName &Key, const FVector2f &Value) |
| |
| template<typename T UE_REQUIRES> |
| int32 | SetValue (const FName &Key, const T &Value) |
| |
| int32 | SetStringValue (const FName &Key, const FString &Value) |
| |
| int32 | SetFlags (const FName &Key, ECollectionPropertyFlags Flags) |
| |
| int32 | SetEnabled (const FName &Key, bool bEnabled) |
| |
| int32 | SetAnimatable (const FName &Key, bool bAnimatable) |
| |
| int32 | SetLegacy (const FName &Key, bool bLegacy) |
| |
| int32 | SetIntrinsic (const FName &Key) |
| |
| int32 | SetDirty (const FName &Key) |
| |
| int32 | SetStringDirty (const FName &Key) |
| |
| int32 | SetInterpolable (const FName &Key) |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| int32 | SetLowValue (const StringType Key, const T &Value) |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| int32 | SetHighValue (const StringType Key, const T &Value) |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| int32 | SetWeightedValue (const StringType Key, const T &LowValue, const T &HighValue) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | SetWeightedFloatValue (const StringType Key, const FVector2f &Value) |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| int32 | SetValue (const StringType Key, const T &Value) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | SetStringValue (const StringType Key, const FString &Value) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | SetFlags (const StringType Key, ECollectionPropertyFlags Flags) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | SetEnabled (const StringType Key, bool bEnabled) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | SetAnimatable (const StringType Key, bool bAnimatable) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | SetLegacy (const StringType Key, bool bLegacy) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | SetIntrinsic (const StringType Key) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | SetDirty (const StringType Key) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | SetStringDirty (const StringType Key) |
| |
| template<typename StringType UE_REQUIRES> |
| int32 | SetInterpolable (const StringType Key) |
| |
| CHAOS_API void | ClearDirtyFlags () |
| |
| CHAOS_API void | UpdateProperties (const TSharedPtr< const FManagedArrayCollection > &InManagedArrayCollection) |
| |
| CHAOS_API | FCollectionPropertyConstFacade (const TSharedPtr< const FManagedArrayCollection > &InManagedArrayCollection) |
| |
| virtual CHAOS_API | ~FCollectionPropertyConstFacade () |
| |
| | FCollectionPropertyConstFacade ()=delete |
| |
| | FCollectionPropertyConstFacade (const FCollectionPropertyConstFacade &)=delete |
| |
| FCollectionPropertyConstFacade & | operator= (const FCollectionPropertyConstFacade &)=delete |
| |
| | FCollectionPropertyConstFacade (FCollectionPropertyConstFacade &&)=default |
| |
| FCollectionPropertyConstFacade & | operator= (FCollectionPropertyConstFacade &&)=default |
| |
| CHAOS_API bool | IsValid () const |
| |
| int32 | Num () const |
| |
| int32 | GetKeyNameIndex (const FName &Key) const |
| |
| int32 | GetKeyIndex (const FString &Key) const |
| |
| const FName & | GetKeyName (int32 KeyIndex) const |
| |
| FString | GetKey (int32 KeyIndex) const |
| |
| template<typename T UE_REQUIRES> |
| T | GetLowValue (int32 KeyIndex) const |
| |
| template<typename T UE_REQUIRES> |
| T | GetHighValue (int32 KeyIndex) const |
| |
| template<typename T UE_REQUIRES> |
| TPair< T, T > | GetWeightedValue (int32 KeyIndex) const |
| |
| FVector2f | GetWeightedFloatValue (int32 KeyIndex) const |
| |
| template<typename T UE_REQUIRES> |
| T | GetValue (int32 KeyIndex) const |
| |
| const FString & | GetStringValue (int32 KeyIndex) const |
| |
| ECollectionPropertyFlags | GetFlags (int32 KeyIndex) const |
| |
| bool | IsEnabled (int32 KeyIndex) const |
| |
| bool | IsAnimatable (int32 KeyIndex) const |
| |
| bool | IsLegacy (int32 KeyIndex) const |
| |
| bool | IsIntrinsic (int32 KeyIndex) const |
| |
| bool | IsStringDirty (int32 KeyIndex) const |
| |
| bool | IsDirty (int32 KeyIndex) const |
| |
| bool | IsInterpolable (int32 KeyIndex) const |
| |
| template<typename T UE_REQUIRES> |
| T | GetLowValue (const FName &Key, const T &Default=T(0), int32 *OutKeyIndex=nullptr) const |
| |
| template<typename T UE_REQUIRES> |
| T | GetHighValue (const FName &Key, const T &Default=T(0), int32 *OutKeyIndex=nullptr) const |
| |
| template<typename T UE_REQUIRES> |
| TPair< T, T > | GetWeightedValue (const FName &Key, const T &Default=T(0), int32 *OutKeyIndex=nullptr) const |
| |
| FVector2f | GetWeightedFloatValue (const FName &Key, const float &Default=0.f, int32 *OutKeyIndex=nullptr) const |
| |
| FVector2f | GetWeightedFloatValue (const FName &Key, const FVector2f &Default, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename T UE_REQUIRES> |
| T | GetValue (const FName &Key, const T &Default=T(0), int32 *OutKeyIndex=nullptr) const |
| |
| FString | GetStringValue (const FName &Key, const FString &Default="", int32 *OutKeyIndex=nullptr) const |
| |
| ECollectionPropertyFlags | GetFlags (const FName &Key, uint8 Default=0, int32 *OutKeyIndex=nullptr) const |
| |
| bool | IsEnabled (const FName &Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| bool | IsAnimatable (const FName &Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| bool | IsLegacy (const FName &Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| bool | IsIntrinsic (const FName &Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| bool | IsStringDirty (const FName &Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| bool | IsDirty (const FName &Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| bool | IsInterpolable (const FName &Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| T | GetLowValue (const StringType Key, const T &Default=T(0), int32 *OutKeyIndex=nullptr) const |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| T | GetHighValue (const StringType Key, const T &Default=T(0), int32 *OutKeyIndex=nullptr) const |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| TPair< T, T > | GetWeightedValue (const StringType Key, const T &Default=T(0), int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| FVector2f | GetWeightedFloatValue (const StringType Key, const float &Default=0.f, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| FVector2f | GetWeightedFloatValue (const StringType Key, const FVector2f &Default, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename T , typename StringType UE_REQUIRES> |
| T | GetValue (const StringType Key, const T &Default=T(0), int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| FString | GetStringValue (const StringType Key, const FString &Default="", int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| ECollectionPropertyFlags | GetFlags (const StringType Key, uint8 Default=0, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| bool | IsEnabled (const StringType Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| bool | IsAnimatable (const StringType Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| bool | IsLegacy (const StringType Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| bool | IsIntrinsic (const StringType Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| bool | IsStringDirty (const StringType Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| bool | IsDirty (const StringType Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| template<typename StringType UE_REQUIRES> |
| bool | IsInterpolable (const StringType Key, bool bDefault=false, int32 *OutKeyIndex=nullptr) const |
| |
| friend::uint32 | GetTypeHash (const Chaos::Softs::FCollectionPropertyConstFacade &PropertyFacade) |
| |
| template<typename T , typename ElementType > |
| T | GetValue (int32 KeyIndex, const TConstArrayView< ElementType > &ValueArray) const |
| |
| template<> |
| CHAOS_API bool | GetValue (int32 KeyIndex, const TConstArrayView< FVector3f > &ValueArray) const |
| |
| template<> |
| CHAOS_API int32 | GetValue (int32 KeyIndex, const TConstArrayView< FVector3f > &ValueArray) const |
| |
| template<> |
| CHAOS_API float | GetValue (int32 KeyIndex, const TConstArrayView< FVector3f > &ValueArray) const |
| |
| template<typename T > |
| TConstArrayView< T > | GetArray (const FName &Name) const |
| |
Defines common API for reading and writing, and adding/removing simulation properties data and metadata. This is mainly used for the cloth simulation properties to provide weighted values that works in conjunction with weight maps.