UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
UGeometryCollection Class Reference

#include <GeometryCollectionObject.h>

+ Inheritance diagram for UGeometryCollection:

Public Member Functions

GEOMETRYCOLLECTIONENGINE_API UGeometryCollection (const FObjectInitializer &ObjectInitializer=FObjectInitializer::Get())
 
virtual GEOMETRYCOLLECTIONENGINE_API void PostInitProperties () override
 
virtual GEOMETRYCOLLECTIONENGINE_API void PreSave (FObjectPreSaveContext SaveContext) override
 
virtual GEOMETRYCOLLECTIONENGINE_API void PostLoad () override
 
virtual GEOMETRYCOLLECTIONENGINE_API void BeginDestroy () override
 
virtual GEOMETRYCOLLECTIONENGINE_API bool IsReadyForFinishDestroy () override
 
GEOMETRYCOLLECTIONENGINE_API void Serialize (FArchive &Ar)
 
void SetGeometryCollection (TSharedPtr< FGeometryCollection, ESPMode::ThreadSafe > GeometryCollectionIn)
 
TSharedPtr< FGeometryCollection, ESPMode::ThreadSafeGetGeometryCollection ()
 
const TSharedPtr< FGeometryCollection, ESPMode::ThreadSafeGetGeometryCollection () const
 
GEOMETRYCOLLECTIONENGINE_API bool IsEmpty () const
 
GEOMETRYCOLLECTIONENGINE_API void Reset ()
 
GEOMETRYCOLLECTIONENGINE_API void ResetFrom (const FManagedArrayCollection &InCollection, const TArray< UMaterial * > &InMaterials, bool bHasInternalMaterials)
 
GEOMETRYCOLLECTIONENGINE_API void ResetFrom (const FManagedArrayCollection &InCollection, const TArray< UMaterialInterface * > &InMaterialInstances, bool bHasInternalMaterials)
 
GEOMETRYCOLLECTIONENGINE_API int32 AppendGeometry (const UGeometryCollection &Element, bool ReindexAllMaterials=false, const FTransform &TransformRoot=FTransform::Identity)
 
GEOMETRYCOLLECTIONENGINE_API int32 NumElements (const FName &Group) const
 
GEOMETRYCOLLECTIONENGINE_API void RemoveElements (const FName &Group, const TArray< int32 > &SortedDeletionList)
 
GEOMETRYCOLLECTIONENGINE_API bool HasMeshData () const
 
GEOMETRYCOLLECTIONENGINE_API bool HasNaniteData () const
 
GEOMETRYCOLLECTIONENGINE_API uint32 GetNaniteResourceID () const
 
GEOMETRYCOLLECTIONENGINE_API uint32 GetNaniteHierarchyOffset () const
 
GEOMETRYCOLLECTIONENGINE_API uint32 GetNaniteHierarchyOffset (int32 GeometryIndex, bool bFlattened=false) const
 
GEOMETRYCOLLECTIONENGINE_API void ReindexMaterialSections ()
 
GEOMETRYCOLLECTIONENGINE_API void InitializeMaterials (bool bHasLegacyInternalMaterialsPairs=false)
 
GEOMETRYCOLLECTIONENGINE_API int32 AddNewMaterialSlot (bool bCopyLastMaterial=true)
 
GEOMETRYCOLLECTIONENGINE_API bool RemoveLastMaterialSlot ()
 
GEOMETRYCOLLECTIONENGINE_API bool HasVisibleGeometry () const
 
GEOMETRYCOLLECTIONENGINE_API void InvalidateCollection ()
 
GEOMETRYCOLLECTIONENGINE_API bool IsSimulationDataDirty () const
 
GEOMETRYCOLLECTIONENGINE_API int32 AttachEmbeddedGeometryExemplar (const UStaticMesh *Exemplar)
 
GEOMETRYCOLLECTIONENGINE_API void RemoveExemplars (const TArray< int32 > &SortedRemovalIndices)
 
GEOMETRYCOLLECTIONENGINE_API const FGeometryCollectionAutoInstanceMeshGetAutoInstanceMesh (int32 AutoInstanceMeshIndex) const
 
GEOMETRYCOLLECTIONENGINE_API void SetAutoInstanceMeshes (const TArray< FGeometryCollectionAutoInstanceMesh > &InAutoInstanceMeshes)
 
GEOMETRYCOLLECTIONENGINE_API int32 FindOrAddAutoInstanceMesh (const FGeometryCollectionAutoInstanceMesh &AutoInstanceMesh)
 
GEOMETRYCOLLECTIONENGINE_API int32 FindOrAddAutoInstanceMesh (const UStaticMesh *StaticMesh, const TArray< UMaterialInterface * > &Materials)
 
GEOMETRYCOLLECTIONENGINE_API TSharedPtr< FGeometryCollection, ESPMode::ThreadSafeGenerateMinimalGeometryCollection () const
 
GEOMETRYCOLLECTIONENGINE_API FGeometryCollectionRenderResourceSizeInfo GetRenderResourceSizeInfo () const
 
GEOMETRYCOLLECTIONENGINE_API void InitResources ()
 
GEOMETRYCOLLECTIONENGINE_API void ReleaseResources ()
 
GEOMETRYCOLLECTIONENGINE_API void GetSharedSimulationParams (FSharedSimulationParameters &OutParams) const
 
GEOMETRYCOLLECTIONENGINE_API float GetMassOrDensity (bool &bOutIsDensity) const
 
GEOMETRYCOLLECTIONENGINE_API void CacheMaterialDensity ()
 
GEOMETRYCOLLECTIONENGINE_API FGuid GetIdGuid () const
 
GEOMETRYCOLLECTIONENGINE_API FGuid GetStateGuid () const
 
int32 GetRootIndex () const
 
GEOMETRYCOLLECTIONENGINE_API void SetEnableNanite (bool bValue)
 
GEOMETRYCOLLECTIONENGINE_API void SetConvertVertexColorsToSRGB (bool bValue)
 
GEOMETRYCOLLECTIONENGINE_API int GetDefaultSizeSpecificDataIndex () const
 
GEOMETRYCOLLECTIONENGINE_API FGeometryCollectionSizeSpecificDataGetDefaultSizeSpecificData ()
 
GEOMETRYCOLLECTIONENGINE_API const FGeometryCollectionSizeSpecificDataGetDefaultSizeSpecificData () const
 
 UPROPERTY (meta=(DeprecatedProperty, DeprecationMessage="Use remove on break feature instead ( Fracture editor tools ).")) bool EnableRemovePiecesOnFracture_DEPRECATED
 
 UPROPERTY (meta=(DeprecatedProperty, DeprecationMessage="Use remove on break feature instead ( Fracture editor tools ).")) TArray< TObjectPtr< UMaterialInterface > > RemoveOnFractureMaterials_DEPRECATED
 
FORCEINLINE const int32 GetBoneSelectedMaterialIndex () const
 
GEOMETRYCOLLECTIONENGINE_API void UpdateConvexGeometry ()
 
GEOMETRYCOLLECTIONENGINE_API void UpdateConvexGeometryIfMissing ()
 
GEOMETRYCOLLECTIONENGINE_API void UpdateGeometryDependentProperties ()
 
virtual GEOMETRYCOLLECTIONENGINE_API void AddAssetUserData (UAssetUserData *InUserData) override
 
virtual GEOMETRYCOLLECTIONENGINE_API void RemoveUserDataOfClass (TSubclassOf< UAssetUserData > InUserDataClass) override
 
virtual GEOMETRYCOLLECTIONENGINE_API UAssetUserDataGetAssetUserDataOfClass (TSubclassOf< UAssetUserData > InUserDataClass) override
 
virtual GEOMETRYCOLLECTIONENGINE_API const TArray< UAssetUserData * > * GetAssetUserDataArray () const override
 
void SetDataflowAsset (UDataflow *InDataflowAsset)
 
UDataflowGetDataflowAsset () const
 
virtual const FDataflowInstanceGetDataflowInstance () const override
 
virtual FDataflowInstanceGetDataflowInstance () override
 
virtual TObjectPtr< UDataflowBaseContentCreateDataflowContent () override
 
virtual void WriteDataflowContent (const TObjectPtr< UDataflowBaseContent > &DataflowContent) const override
 
virtual void ReadDataflowContent (const TObjectPtr< UDataflowBaseContent > &DataflowContent) override
 
const TArray< int32 > & GetBreadthFirstTransformIndices () const
 
const TArray< int32 > & GetAutoInstanceTransformRemapIndices () const
 
- Public Member Functions inherited from UObject
COREUOBJECT_API UObject ()
 
COREUOBJECT_API UObject (const FObjectInitializer &ObjectInitializer)
 
COREUOBJECT_API UObject (EStaticConstructor, EObjectFlags InFlags)
 
COREUOBJECT_API UObject (FVTableHelper &Helper)
 
COREUOBJECT_API UObjectCreateDefaultSubobject (FName SubobjectFName, UClass *ReturnType, UClass *ClassToCreateByDefault, bool bIsRequired, bool bIsTransient)
 
template<class TReturnType >
TReturnTypeCreateEditorOnlyDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType >
TReturnTypeCreateDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType , class TClassToConstructByDefault >
TReturnTypeCreateDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType >
TReturnTypeCreateOptionalDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
template<class TReturnType , class TClassToConstructByDefault >
TReturnTypeCreateOptionalDefaultSubobject (FName SubobjectName, bool bTransient=false)
 
COREUOBJECT_API void GetDefaultSubobjects (TArray< UObject * > &OutDefaultSubobjects)
 
COREUOBJECT_API UObjectGetDefaultSubobjectByName (FName ToFind)
 
virtual COREUOBJECT_API void PostReinitProperties ()
 
virtual void PostCDOContruct ()
 
virtual COREUOBJECT_API void PreSaveRoot (FObjectPreSaveRootContext ObjectSaveContext)
 
virtual COREUOBJECT_API void PostSaveRoot (FObjectPostSaveRootContext ObjectSaveContext)
 
virtual COREUOBJECT_API void CollectSaveOverrides (FObjectCollectSaveOverridesContext SaveContext)
 
UE_FORCEINLINE_HINT bool Modify (bool bAlwaysMarkDirty=true)
 
UE_FORCEINLINE_HINT bool IsCapturingAsRootObjectForTransaction () const
 
virtual bool ResolveSubobject (const TCHAR *SubObjectPath, UObject *&OutObject, bool bLoadIfExists)
 
virtual bool IsReadyForAsyncPostLoad () const
 
virtual COREUOBJECT_API void PostLoadSubobjects (FObjectInstancingGraph *OuterInstanceGraph)
 
virtual COREUOBJECT_API void FinishDestroy ()
 
virtual COREUOBJECT_API void Serialize (FStructuredArchive::FRecord Record)
 
virtual void ShutdownAfterError ()
 
virtual void PostInterpChange (FProperty *PropertyThatChanged)
 
virtual COREUOBJECT_API void PostRename (UObject *OldOuter, const FName OldName)
 
virtual void PreDuplicate (FObjectDuplicationParameters &DupParams)
 
virtual void PostDuplicate (bool bDuplicateForPIE)
 
virtual void PostDuplicate (EDuplicateMode::Type DuplicateMode)
 
virtual COREUOBJECT_API bool NeedsLoadForClient () const
 
virtual COREUOBJECT_API bool NeedsLoadForServer () const
 
virtual COREUOBJECT_API bool NeedsLoadForTargetPlatform (const class ITargetPlatform *TargetPlatform) const
 
virtual bool NeedsLoadForEditorGame () const
 
virtual bool IsEditorOnly () const
 
virtual bool HasNonEditorOnlyReferences () const
 
virtual bool IsPostLoadThreadSafe () const
 
virtual COREUOBJECT_API bool IsDestructionThreadSafe () const
 
virtual COREUOBJECT_API void GetPreloadDependencies (TArray< UObject * > &OutDeps)
 
virtual void GetPrestreamPackages (TArray< UObject * > &OutPrestream)
 
virtual void ExportCustomProperties (FOutputDevice &Out, uint32 Indent)
 
virtual void ImportCustomProperties (const TCHAR *SourceText, FFeedbackContext *Warn)
 
virtual void PostEditImport ()
 
virtual void PostReloadConfig (class FProperty *PropertyThatWasLoaded)
 
virtual COREUOBJECT_API bool Rename (const TCHAR *NewName=nullptr, UObject *NewOuter=nullptr, ERenameFlags Flags=REN_None)
 
virtual FString GetDesc ()
 
COREUOBJECT_API UScriptStructGetSparseClassDataStruct () const
 
virtual bool GetNativePropertyValues (TMap< FString, FString > &out_PropertyValues, uint32 ExportFlags=0) const
 
virtual COREUOBJECT_API void GetResourceSizeEx (FResourceSizeEx &CumulativeResourceSize)
 
SIZE_T GetResourceSizeBytes (EResourceSizeMode::Type Mode)
 
virtual FName GetExporterName (void)
 
COREUOBJECT_API void CallAddReferencedObjects (FReferenceCollector &Collector)
 
virtual FRestoreForUObjectOverwriteGetRestoreForUObjectOverwrite ()
 
virtual bool AreNativePropertiesIdenticalTo (UObject *Other) const
 
virtual COREUOBJECT_API void GetAssetRegistryTags (FAssetRegistryTagsContext Context) const
 
virtual COREUOBJECT_API void GetAssetRegistryTags (TArray< FAssetRegistryTag > &OutTags) const
 
COREUOBJECT_API void GetAssetRegistryTags (FAssetData &Out) const
 
COREUOBJECT_API void GetAssetRegistryTags (FAssetRegistryTagsContext Context, FAssetData &Out) const
 
virtual COREUOBJECT_API bool IsAsset () const
 
virtual COREUOBJECT_API FPrimaryAssetId GetPrimaryAssetId () const
 
virtual COREUOBJECT_API bool IsLocalizedResource () const
 
virtual COREUOBJECT_API bool IsSafeForRootSet () const
 
virtual COREUOBJECT_API void TagSubobjects (EObjectFlags NewFlags)
 
virtual COREUOBJECT_API void GetLifetimeReplicatedProps (TArray< class FLifetimeProperty > &OutLifetimeProps) const
 
virtual COREUOBJECT_API void GetReplicatedCustomConditionState (FCustomPropertyConditionState &OutActiveState) const
 
virtual COREUOBJECT_API void RegisterReplicationFragments (UE::Net::FFragmentRegistrationContext &Context, UE::Net::EFragmentRegistrationFlags RegistrationFlags)
 
virtual COREUOBJECT_API bool IsNameStableForNetworking () const
 
virtual COREUOBJECT_API bool IsFullNameStableForNetworking () const
 
virtual COREUOBJECT_API bool IsSupportedForNetworking () const
 
virtual void GetSubobjectsWithStableNamesForNetworking (TArray< UObject * > &ObjList)
 
virtual COREUOBJECT_API void PreNetReceive ()
 
virtual COREUOBJECT_API void PostNetReceive ()
 
virtual void PostRepNotifies ()
 
virtual COREUOBJECT_API void PreDestroyFromReplication ()
 
COREUOBJECT_API bool IsSelected () const
 
COREUOBJECT_API void SerializeScriptProperties (FArchive &Ar) const
 
COREUOBJECT_API void SerializeScriptProperties (FStructuredArchive::FSlot Slot) const
 
COREUOBJECT_API void ReinitializeProperties (UObject *SourceObject=NULL, struct FObjectInstancingGraph *InstanceGraph=NULL)
 
COREUOBJECT_API FString GetDetailedInfo () const
 
COREUOBJECT_API bool ConditionalBeginDestroy ()
 
COREUOBJECT_API bool ConditionalFinishDestroy ()
 
COREUOBJECT_API void ConditionalPostLoad ()
 
COREUOBJECT_API void ConditionalPreload ()
 
COREUOBJECT_API void ConditionalPostLoadSubobjects (struct FObjectInstancingGraph *OuterInstanceGraph=NULL)
 
bool IsBasedOnArchetype (const UObject *const SomeObject) const
 
COREUOBJECT_API UFunctionFindFunction (FName InName) const
 
COREUOBJECT_API UFunctionFindFunctionChecked (FName InName) const
 
virtual COREUOBJECT_API void BuildSubobjectMapping (UObject *OtherObject, TMap< UObject *, UObject * > &ObjectMapping) const
 
COREUOBJECT_API void CollectDefaultSubobjects (TArray< UObject * > &OutDefaultSubobjects, bool bIncludeNestedSubobjects=false) const
 
COREUOBJECT_API bool CheckDefaultSubobjects (bool bForceCheck=false) const
 
COREUOBJECT_API void SaveConfig (uint64 RequiredPropertyFlags=CPF_Config, const TCHAR *Filename=nullptr, FConfigCacheIni *Config=GConfig, bool bAllowCopyToDefaultObject=true)
 
COREUOBJECT_API void SaveConfig (const FSaveConfigContext &Context)
 
COREUOBJECT_API void UpdateDefaultConfigFile (const FString &SpecificFileLocation="")
 
COREUOBJECT_API bool TryUpdateDefaultConfigFile (const FString &SpecificFileLocation="", bool bWarnIfFail=true)
 
COREUOBJECT_API void UpdateGlobalUserConfigFile ()
 
COREUOBJECT_API void UpdateProjectUserConfigFile ()
 
COREUOBJECT_API void UpdateSinglePropertyInConfigFile (const FProperty *InProperty, const FString &InConfigIniName)
 
COREUOBJECT_API FString GetDefaultConfigFilename () const
 
COREUOBJECT_API FString GetGlobalUserConfigFilename () const
 
COREUOBJECT_API FString GetProjectUserConfigFilename () const
 
virtual const TCHARGetConfigOverridePlatform () const
 
virtual void OverrideConfigSection (FString &SectionName)
 
virtual void OverridePerObjectConfigSection (FString &SectionName)
 
COREUOBJECT_API void LoadConfig (UClass *ConfigClass=nullptr, const TCHAR *Filename=nullptr, uint32 PropagationFlags=UE::LCPF_None, class FProperty *PropertyToLoad=nullptr, TArray< UE::ConfigAccessTracking::FConfigAccessData > *OutAccessedKeys=nullptr)
 
COREUOBJECT_API void ReloadConfig (UClass *ConfigClass=NULL, const TCHAR *Filename=NULL, uint32 PropagationFlags=UE::LCPF_None, class FProperty *PropertyToLoad=NULL)
 
COREUOBJECT_API void ParseParms (const TCHAR *Parms)
 
COREUOBJECT_API void OutputReferencers (FOutputDevice &Ar, FReferencerInformationList *Referencers=NULL)
 
COREUOBJECT_API void RetrieveReferencers (TArray< FReferencerInformation > *OutInternalReferencers, TArray< FReferencerInformation > *OutExternalReferencers)
 
COREUOBJECT_API void SetLinker (FLinkerLoad *LinkerLoad, int32 LinkerIndex, bool bShouldDetachExisting=true, bool bSilenceLogs=false)
 
COREUOBJECT_API UObjectGetArchetype () const
 
COREUOBJECT_API void GetArchetypeInstances (TArray< UObject * > &Instances)
 
COREUOBJECT_API void InstanceSubobjectTemplates (struct FObjectInstancingGraph *InstanceGraph=NULL)
 
template<class T >
bool Implements () const
 
virtual COREUOBJECT_API void ProcessEvent (UFunction *Function, void *Parms)
 
virtual int32 GetFunctionCallspace (UFunction *Function, FFrame *Stack)
 
virtual bool CallRemoteFunction (UFunction *Function, void *Parms, struct FOutParmRec *OutParms, FFrame *Stack)
 
COREUOBJECT_API bool CallFunctionByNameWithArguments (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor, bool bForceCallWithNonExec=false)
 
COREUOBJECT_API void CallFunction (FFrame &Stack, RESULT_DECL, UFunction *Function)
 
 DECLARE_FUNCTION (ProcessInternal)
 
virtual bool ProcessConsoleExec (const TCHAR *Cmd, FOutputDevice &Ar, UObject *Executor)
 
COREUOBJECT_API void SkipFunction (FFrame &Stack, RESULT_DECL, UFunction *Function)
 
virtual UClassRegenerateClass (UClass *ClassToRegenerate, UObject *PreviousCDO)
 
COREUOBJECT_API bool IsInBlueprint () const
 
COREUOBJECT_API void DestroyNonNativeProperties ()
 
virtual void MarkAsEditorOnlySubobject ()
 
COREUOBJECT_API void AbortInsideMemberFunction () const
 
 DECLARE_FUNCTION (execUndefined)
 
 DECLARE_FUNCTION (execLocalVariable)
 
 DECLARE_FUNCTION (execInstanceVariable)
 
 DECLARE_FUNCTION (execDefaultVariable)
 
 DECLARE_FUNCTION (execLocalOutVariable)
 
 DECLARE_FUNCTION (execInterfaceVariable)
 
 DECLARE_FUNCTION (execClassSparseDataVariable)
 
 DECLARE_FUNCTION (execInterfaceContext)
 
 DECLARE_FUNCTION (execArrayElement)
 
 DECLARE_FUNCTION (execBoolVariable)
 
 DECLARE_FUNCTION (execClassDefaultVariable)
 
 DECLARE_FUNCTION (execEndFunctionParms)
 
 DECLARE_FUNCTION (execNothing)
 
 DECLARE_FUNCTION (execNothingInt32)
 
 DECLARE_FUNCTION (execNothingOp4a)
 
 DECLARE_FUNCTION (execBreakpoint)
 
 DECLARE_FUNCTION (execTracepoint)
 
 DECLARE_FUNCTION (execWireTracepoint)
 
 DECLARE_FUNCTION (execInstrumentation)
 
 DECLARE_FUNCTION (execEndOfScript)
 
 DECLARE_FUNCTION (execReturnNothing)
 
 DECLARE_FUNCTION (execEmptyParmValue)
 
 DECLARE_FUNCTION (execJump)
 
 DECLARE_FUNCTION (execJumpIfNot)
 
 DECLARE_FUNCTION (execAssert)
 
 DECLARE_FUNCTION (execPushExecutionFlow)
 
 DECLARE_FUNCTION (execPopExecutionFlow)
 
 DECLARE_FUNCTION (execComputedJump)
 
 DECLARE_FUNCTION (execPopExecutionFlowIfNot)
 
 DECLARE_FUNCTION (execLet)
 
 DECLARE_FUNCTION (execLetObj)
 
 DECLARE_FUNCTION (execLetWeakObjPtr)
 
 DECLARE_FUNCTION (execLetBool)
 
 DECLARE_FUNCTION (execLetDelegate)
 
 DECLARE_FUNCTION (execLetMulticastDelegate)
 
 DECLARE_FUNCTION (execAddMulticastDelegate)
 
 DECLARE_FUNCTION (execClearMulticastDelegate)
 
 DECLARE_FUNCTION (execEatReturnValue)
 
 DECLARE_FUNCTION (execRemoveMulticastDelegate)
 
 DECLARE_FUNCTION (execSelf)
 
 DECLARE_FUNCTION (execContext)
 
 DECLARE_FUNCTION (execContext_FailSilent)
 
 DECLARE_FUNCTION (execStructMemberContext)
 
 DECLARE_FUNCTION (execVirtualFunction)
 
 DECLARE_FUNCTION (execFinalFunction)
 
 DECLARE_FUNCTION (execLocalVirtualFunction)
 
 DECLARE_FUNCTION (execLocalFinalFunction)
 
 DECLARE_FUNCTION (execStructCmpEq)
 
 DECLARE_FUNCTION (execStructCmpNe)
 
 DECLARE_FUNCTION (execStructMember)
 
 DECLARE_FUNCTION (execEqualEqual_DelegateDelegate)
 
 DECLARE_FUNCTION (execNotEqual_DelegateDelegate)
 
 DECLARE_FUNCTION (execEqualEqual_DelegateFunction)
 
 DECLARE_FUNCTION (execNotEqual_DelegateFunction)
 
 DECLARE_FUNCTION (execIntConst)
 
 DECLARE_FUNCTION (execInt64Const)
 
 DECLARE_FUNCTION (execUInt64Const)
 
 DECLARE_FUNCTION (execSkipOffsetConst)
 
 DECLARE_FUNCTION (execFloatConst)
 
 DECLARE_FUNCTION (execDoubleConst)
 
 DECLARE_FUNCTION (execStringConst)
 
 DECLARE_FUNCTION (execUnicodeStringConst)
 
 DECLARE_FUNCTION (execTextConst)
 
 DECLARE_FUNCTION (execPropertyConst)
 
 DECLARE_FUNCTION (execObjectConst)
 
 DECLARE_FUNCTION (execSoftObjectConst)
 
 DECLARE_FUNCTION (execFieldPathConst)
 
 DECLARE_FUNCTION (execInstanceDelegate)
 
 DECLARE_FUNCTION (execNameConst)
 
 DECLARE_FUNCTION (execByteConst)
 
 DECLARE_FUNCTION (execIntZero)
 
 DECLARE_FUNCTION (execIntOne)
 
 DECLARE_FUNCTION (execTrue)
 
 DECLARE_FUNCTION (execFalse)
 
 DECLARE_FUNCTION (execNoObject)
 
 DECLARE_FUNCTION (execNullInterface)
 
 DECLARE_FUNCTION (execIntConstByte)
 
 DECLARE_FUNCTION (execRotationConst)
 
 DECLARE_FUNCTION (execVectorConst)
 
 DECLARE_FUNCTION (execVector3fConst)
 
 DECLARE_FUNCTION (execTransformConst)
 
 DECLARE_FUNCTION (execStructConst)
 
 DECLARE_FUNCTION (execSetArray)
 
 DECLARE_FUNCTION (execSetSet)
 
 DECLARE_FUNCTION (execSetMap)
 
 DECLARE_FUNCTION (execArrayConst)
 
 DECLARE_FUNCTION (execSetConst)
 
 DECLARE_FUNCTION (execMapConst)
 
 DECLARE_FUNCTION (execBitFieldConst)
 
 DECLARE_FUNCTION (execNew)
 
 DECLARE_FUNCTION (execClassContext)
 
 DECLARE_FUNCTION (execNativeParm)
 
 DECLARE_FUNCTION (execCast)
 
 DECLARE_FUNCTION (execDynamicCast)
 
 DECLARE_FUNCTION (execMetaCast)
 
 DECLARE_FUNCTION (execInterfaceCast)
 
 DECLARE_FUNCTION (execDoubleToFloatCast)
 
 DECLARE_FUNCTION (execFloatToDoubleCast)
 
 DECLARE_FUNCTION (execObjectToBool)
 
 DECLARE_FUNCTION (execInterfaceToBool)
 
 DECLARE_FUNCTION (execObjectToInterface)
 
 DECLARE_FUNCTION (execInterfaceToInterface)
 
 DECLARE_FUNCTION (execInterfaceToObject)
 
 DECLARE_FUNCTION (execGetDynArrayElement)
 
 DECLARE_FUNCTION (execSetDynArrayElement)
 
 DECLARE_FUNCTION (execGetDynArrayLength)
 
 DECLARE_FUNCTION (execSetDynArrayLength)
 
 DECLARE_FUNCTION (execDynArrayInsert)
 
 DECLARE_FUNCTION (execDynArrayRemove)
 
 DECLARE_FUNCTION (execDynArrayFind)
 
 DECLARE_FUNCTION (execDynArrayFindStruct)
 
 DECLARE_FUNCTION (execDynArrayAdd)
 
 DECLARE_FUNCTION (execDynArrayAddItem)
 
 DECLARE_FUNCTION (execDynArrayInsertItem)
 
 DECLARE_FUNCTION (execDynArrayRemoveItem)
 
 DECLARE_FUNCTION (execDynArraySort)
 
 DECLARE_FUNCTION (execBindDelegate)
 
 DECLARE_FUNCTION (execCallMulticastDelegate)
 
 DECLARE_FUNCTION (execLetValueOnPersistentFrame)
 
 DECLARE_FUNCTION (execCallMathFunction)
 
 DECLARE_FUNCTION (execSwitchValue)
 
 DECLARE_FUNCTION (execArrayGetByRef)
 
 DECLARE_FUNCTION (execAutoRtfmTransact)
 
 DECLARE_FUNCTION (execAutoRtfmStopTransact)
 
 DECLARE_FUNCTION (execAutoRtfmAbortIfNot)
 
void ExecuteUbergraph (int32 EntryPoint)
 
virtual void ValidateGeneratedRepEnums (const TArray< struct FRepRecord > &ClassReps) const
 
virtual uint64 GetNetPushIdDynamic () const
 
- Public Member Functions inherited from UObjectBaseUtility
 UObjectBaseUtility ()
 
 UObjectBaseUtility (EObjectFlags InFlags)
 
void SetFlags (EObjectFlags NewFlags)
 
void ClearFlags (EObjectFlags FlagsToClear)
 
bool HasAnyFlags (EObjectFlags FlagsToCheck) const
 
bool HasAllFlags (EObjectFlags FlagsToCheck) const
 
UE_FORCEINLINE_HINT EObjectFlags GetMaskedFlags (EObjectFlags Mask=RF_AllFlags) const
 
UE_FORCEINLINE_HINT void Mark (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT void UnMark (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT bool HasAnyMarks (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT bool HasAllMarks (EObjectMark Marks) const
 
UE_FORCEINLINE_HINT EObjectMark GetAllMarks () const
 
void MarkAsGarbage ()
 
void ClearGarbage ()
 
UE_FORCEINLINE_HINT void AddToRoot ()
 
UE_FORCEINLINE_HINT void RemoveFromRoot ()
 
UE_FORCEINLINE_HINT bool IsRooted () const
 
UE_FORCEINLINE_HINT int32 GetRefCount () const
 
bool ThisThreadAtomicallyClearedRFUnreachable ()
 
UE_FORCEINLINE_HINT bool IsUnreachable () const
 
UE_FORCEINLINE_HINT bool IsNative () const
 
void SetInternalFlags (EInternalObjectFlags FlagsToSet) const
 
UE_FORCEINLINE_HINT EInternalObjectFlags GetInternalFlags () const
 
UE_FORCEINLINE_HINT bool HasAnyInternalFlags (EInternalObjectFlags FlagsToCheck) const
 
void ClearInternalFlags (EInternalObjectFlags FlagsToClear) const
 
bool AtomicallyClearInternalFlags (EInternalObjectFlags FlagsToClear) const
 
COREUOBJECT_API FString GetFullName (const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API void GetFullName (const UObject *StopOuter, FString &ResultString, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API void GetFullName (FStringBuilderBase &ResultString, const UObject *StopOuter=NULL, EObjectFullNameFlags Flags=EObjectFullNameFlags::None) const
 
COREUOBJECT_API FString GetPathName (const UObject *StopOuter=NULL) const
 
COREUOBJECT_API void GetPathName (const UObject *StopOuter, FString &ResultString) const
 
COREUOBJECT_API void GetPathName (const UObject *StopOuter, FStringBuilderBase &ResultString) const
 
virtual bool CanBeClusterRoot () const
 
virtual COREUOBJECT_API bool CanBeInCluster () const
 
virtual COREUOBJECT_API void CreateCluster ()
 
virtual void OnClusterMarkedAsPendingKill ()
 
COREUOBJECT_API void AddToCluster (UObjectBaseUtility *ClusterRootOrObjectFromCluster, bool bAddAsMutableObject=false)
 
COREUOBJECT_API FString GetFullGroupName (bool bStartWithOuter) const
 
UE_FORCEINLINE_HINT FString GetName () const
 
UE_FORCEINLINE_HINT void GetName (FString &ResultString) const
 
UE_FORCEINLINE_HINT void AppendName (FString &ResultString) const
 
COREUOBJECT_API bool IsPackageExternal () const
 
COREUOBJECT_API void DetachExternalPackage ()
 
COREUOBJECT_API void ReattachExternalPackage ()
 
COREUOBJECT_API UObjectGetOutermostObject () const
 
COREUOBJECT_API UPackageGetPackage () const
 
UE_INTERNAL virtual COREUOBJECT_API UE::Core::FVersePath GetVersePath () const
 
COREUOBJECT_API UPackageGetOutermost () const
 
COREUOBJECT_API bool MarkPackageDirty () const
 
COREUOBJECT_API bool IsTemplate (EObjectFlags TemplateTypes=RF_ArchetypeObject|RF_ClassDefaultObject) const
 
COREUOBJECT_API UObjectGetTypedOuter (UClass *Target) const
 
template<typename T >
T * GetTypedOuter () const
 
template<typename InterfaceClassType >
InterfaceClassTypeGetImplementingOuter () const
 
COREUOBJECT_API UObjectBaseUtilityGetImplementingOuterObject (const UClass *InInterfaceClass) const
 
COREUOBJECT_API bool IsIn (const UObject *SomeOuter) const
 
COREUOBJECT_API bool IsIn (const UPackage *SomePackage) const
 
COREUOBJECT_API bool IsInOuter (const UObject *SomeOuter) const
 
COREUOBJECT_API bool IsInPackage (const UPackage *SomePackage) const
 
COREUOBJECT_API bool IsInA (const UClass *SomeBaseClass) const
 
COREUOBJECT_API bool RootPackageHasAnyFlags (uint32 CheckFlagMask) const
 
template<typename OtherClassType >
bool IsA (OtherClassType SomeBase) const
 
template<class T >
bool IsA () const
 
COREUOBJECT_API const UClassFindNearestCommonBaseClass (const UClass *TestClass) const
 
COREUOBJECT_API voidGetInterfaceAddress (UClass *InterfaceClass)
 
COREUOBJECT_API voidGetNativeInterfaceAddress (UClass *InterfaceClass)
 
const voidGetNativeInterfaceAddress (UClass *InterfaceClass) const
 
COREUOBJECT_API bool IsTemplateForSubobjects (EObjectFlags TemplateTypes=RF_ClassDefaultObject|RF_DefaultSubObject|RF_InheritableComponentTemplate) const
 
COREUOBJECT_API bool IsDefaultSubobject () const
 
COREUOBJECT_API class FLinkerLoadGetLinker () const
 
COREUOBJECT_API int32 GetLinkerIndex () const
 
COREUOBJECT_API FPackageFileVersion GetLinkerUEVersion () const
 
int32 GetLinkerUE4Version () const
 
COREUOBJECT_API int32 GetLinkerLicenseeUEVersion () const
 
int32 GetLinkerLicenseeUE4Version () const
 
COREUOBJECT_API int32 GetLinkerCustomVersion (FGuid CustomVersionKey) const
 
UE_FORCEINLINE_HINT bool operator< (const UObjectBaseUtility &Other) const
 
TStatId GetStatID (bool bForDeferredUse=false) const
 
- Public Member Functions inherited from UObjectBase
COREUOBJECT_API UObjectBase (UClass *InClass, EObjectFlags InFlags, EInternalObjectFlags InInternalFlags, UObject *InOuter, FName InName, int32 InInternalIndex=-1, int32 InSerialNumber=0, FRemoteObjectId InRemoteId=FRemoteObjectId())
 
virtual COREUOBJECT_API ~UObjectBase ()
 
COREUOBJECT_API bool IsValidLowLevel () const
 
COREUOBJECT_API bool IsValidLowLevelFast (bool bRecursive=true) const
 
FORCEINLINE uint32 GetUniqueID () const
 
FORCEINLINE UClassGetClass () const
 
FORCEINLINE UObjectGetOuter () const
 
FORCEINLINE FName GetFName () const
 
virtual COREUOBJECT_API FName GetFNameForStatID () const
 
COREUOBJECT_API UPackageGetExternalPackage () const
 
COREUOBJECT_API void SetExternalPackage (UPackage *InPackage)
 
COREUOBJECT_API UPackageGetExternalPackageInternal () const
 
COREUOBJECT_API void MarkAsReachable () const
 
COREUOBJECT_API void AddRef () const
 
COREUOBJECT_API void ReleaseRef () const
 
FORCEINLINE EObjectFlags GetFlags () const
 
FORCENOINLINE void AtomicallySetFlags (EObjectFlags FlagsToAdd)
 
FORCENOINLINE void AtomicallyClearFlags (EObjectFlags FlagsToClear)
 
- Public Member Functions inherited from IDataflowContentOwner
UE_API TObjectPtr< UDataflowBaseContentBuildDataflowContent ()
 
 DECLARE_MULTICAST_DELEGATE (FOnContentOwnerChanged)
 
void InvalidateDataflowContents () const
 

Static Public Member Functions

static GEOMETRYCOLLECTIONENGINE_API TSharedPtr< FGeometryCollection, ESPMode::ThreadSafeCopyCollectionAndRemoveGeometry (const TSharedPtr< const FGeometryCollection, ESPMode::ThreadSafe > &CollectionToCopy)
 
static GEOMETRYCOLLECTIONENGINE_API FGeometryCollectionSizeSpecificData GeometryCollectionSizeSpecificDataDefaults ()
 
static UMaterialInterfaceGetBoneSelectedMaterial ()
 
static GEOMETRYCOLLECTIONENGINE_API const TCHARGetSelectedMaterialPath ()
 
- Static Public Member Functions inherited from UObject
static COREUOBJECT_API void UpdateClassesExcludedFromDedicatedServer (const TArray< FString > &InClassNames, const TArray< FString > &InModulesNames)
 
static COREUOBJECT_API void UpdateClassesExcludedFromDedicatedClient (const TArray< FString > &InClassNames, const TArray< FString > &InModulesNames)
 
static COREUOBJECT_API bool CanCreateInCurrentContext (UObject *Template)
 
static COREUOBJECT_API void AddReferencedObjects (UObject *InThis, FReferenceCollector &Collector)
 
static COREUOBJECT_API const FNameSourceFileTagName ()
 
static COREUOBJECT_API UObjectGetArchetypeFromRequiredInfo (const UClass *Class, const UObject *Outer, FName Name, EObjectFlags ObjectFlags)
 
- Static Public Member Functions inherited from UObjectBaseUtility
static bool IsGarbageEliminationEnabled ()
 
static bool IsPendingKillEnabled ()
 
static void SetGarbageEliminationEnabled (bool bEnabled)
 
static COREUOBJECT_API void ReloadObjectsFromModifiedConfigSections (const class FConfigModificationTracker *ChangeTracker)
 
- Static Public Member Functions inherited from UObjectBase
static COREUOBJECT_API FString RemoveClassPrefix (const TCHAR *ClassName)
 
static void PrefetchClass (UObject *Object)
 
static void PrefetchOuter (UObject *Object)
 

Public Attributes

TUniquePtr< FGeometryCollectionRenderDataRenderData
 
bool EnableClustering
 
int32 ClusterGroupIndex
 
int32 MaxClusterLevel
 
EDamageModelTypeEnum DamageModel
 
TArray< floatDamageThreshold
 
bool bUseSizeSpecificDamageThreshold
 
bool bUseMaterialDamageModifiers
 
bool PerClusterOnlyDamageThreshold
 
FGeometryCollectionDamagePropagationData DamagePropagationData
 
EClusterConnectionTypeEnum ClusterConnectionType
 
float ConnectionGraphBoundsFilteringMargin
 
TArray< TObjectPtr< UMaterialInterface > > Materials
 
TArray< FGeometryCollectionEmbeddedExemplarEmbeddedGeometryExemplar
 
bool bUseFullPrecisionUVs = false
 
bool bStripOnCook
 
bool bStripRenderDataOnCook
 
TObjectPtr< UClassCustomRendererType
 
FGeometryCollectionProxyMeshData RootProxyData
 
TArray< FGeometryCollectionAutoInstanceMeshAutoInstanceMeshes
 
bool EnableNanite
 
bool bEnableNaniteFallback
 
uint32 NaniteMinimumResidencyInKB
 
bool bConvertVertexColorsToSRGB = true
 
TObjectPtr< UPhysicalMaterialPhysicsMaterial
 
bool bDensityFromPhysicsMaterial
 
float CachedDensityFromPhysicsMaterialInGCm3
 
bool bMassAsDensity
 
float Mass
 
float MinimumMassClamp
 
bool bImportCollisionFromSource
 
bool bOptimizeConvexes = true
 
bool bScaleOnRemoval
 
bool bRemoveOnMaxSleep
 
bool bAutomaticCrumblePartialClusters
 
FVector2D MaximumSleepTime
 
FVector2D RemovalDuration
 
bool bSlowMovingAsSleeping
 
float SlowMovingVelocityThreshold
 
TArray< FGeometryCollectionSizeSpecificDataSizeSpecificData
 
TMap< FString, FString > Overrides
 
FDataflowInstance DataflowInstance
 
- Public Attributes inherited from IDataflowContentOwner
FOnContentOwnerChanged OnContentOwnerChanged
 

Additional Inherited Members

- Public Types inherited from UObject
enum class  ENetFields_Private { NETFIELD_REP_START = 0 , NETFIELD_REP_END = -1 }
 
typedef UObject WithinClass
 
- Protected Member Functions inherited from UObject
virtual FString GetDetailedInfoInternal () const
 
COREUOBJECT_API bool CanCheckDefaultSubObjects (bool bForceCheck, bool &bResult) const
 
virtual COREUOBJECT_API bool CheckDefaultSubobjectsInternal () const
 
- Protected Member Functions inherited from UObjectBase
 UObjectBase ()
 
COREUOBJECT_API UObjectBase (EObjectFlags InFlags)
 
COREUOBJECT_API void LowLevelRename (FName NewName, UObject *NewOuter=NULL)
 
virtual void RegisterDependencies ()
 
COREUOBJECT_API void Register (class UClass *(*StaticClassFn)(), const TCHAR *PackageName, const TCHAR *Name)
 
COREUOBJECT_API void Register (const TCHAR *PackageName, const TCHAR *Name)
 
virtual COREUOBJECT_API void DeferredRegister (UClass *UClassStaticClass, const TCHAR *PackageName, const TCHAR *Name)
 
FORCEINLINE void SetFlagsTo (EObjectFlags NewFlags)
 

Detailed Description

UGeometryCollectionObject (UObject)

UObject wrapper for the FGeometryCollection

Constructor & Destructor Documentation

◆ UGeometryCollection()

UGeometryCollection::UGeometryCollection ( const FObjectInitializer ObjectInitializer = FObjectInitializer::Get())

Member Function Documentation

◆ AddAssetUserData()

void UGeometryCollection::AddAssetUserData ( UAssetUserData InUserData)
overridevirtual

Reimplemented from IInterface_AssetUserData.

◆ AddNewMaterialSlot()

int32 UGeometryCollection::AddNewMaterialSlot ( bool  bCopyLastMaterial = true)

Add a material to the materials array and update the selected bone material to be at the end of the array

◆ AppendGeometry()

int32 UGeometryCollection::AppendGeometry ( const UGeometryCollection Element,
bool  ReindexAllMaterials = false,
const FTransform TransformRoot = FTransform::Identity 
)

AppendGeometry

◆ AttachEmbeddedGeometryExemplar()

int32 UGeometryCollection::AttachEmbeddedGeometryExemplar ( const UStaticMesh Exemplar)

Attach a Static Mesh exemplar for embedded geometry, if that mesh has not already been attached. Return the exemplar index.

◆ BeginDestroy()

void UGeometryCollection::BeginDestroy ( )
overridevirtual

Called before destroying the object. This is called immediately upon deciding to destroy the object, to allow the object to begin an asynchronous cleanup process.

Reimplemented from UObject.

◆ CacheMaterialDensity()

void UGeometryCollection::CacheMaterialDensity ( )

◆ CopyCollectionAndRemoveGeometry()

static GEOMETRYCOLLECTIONENGINE_API TSharedPtr< FGeometryCollection, ESPMode::ThreadSafe > UGeometryCollection::CopyCollectionAndRemoveGeometry ( const TSharedPtr< const FGeometryCollection, ESPMode::ThreadSafe > &  CollectionToCopy)
static

copy a collection and remove geometry from it

◆ CreateDataflowContent()

TObjectPtr< UDataflowBaseContent > UGeometryCollection::CreateDataflowContent ( )
overridevirtual

Interface to create a dataflow content instance from that owner

Implements IDataflowContentOwner.

◆ FindOrAddAutoInstanceMesh() [1/2]

int32 UGeometryCollection::FindOrAddAutoInstanceMesh ( const FGeometryCollectionAutoInstanceMesh AutoInstanceMesh)

find or add a auto instance mesh from another one and return its index

◆ FindOrAddAutoInstanceMesh() [2/2]

int32 UGeometryCollection::FindOrAddAutoInstanceMesh ( const UStaticMesh StaticMesh,
const TArray< UMaterialInterface * > &  Materials 
)

find or add a auto instance mesh from a mesh and alist of material and return its index

◆ GenerateMinimalGeometryCollection()

GEOMETRYCOLLECTIONENGINE_API TSharedPtr< FGeometryCollection, ESPMode::ThreadSafe > UGeometryCollection::GenerateMinimalGeometryCollection ( ) const

Produce a deep copy of GeometryCollection member, stripped of data unecessary for gameplay.

◆ GeometryCollectionSizeSpecificDataDefaults()

FGeometryCollectionSizeSpecificData UGeometryCollection::GeometryCollectionSizeSpecificDataDefaults ( )
static

◆ GetAssetUserDataArray()

const TArray< UAssetUserData * > * UGeometryCollection::GetAssetUserDataArray ( ) const
overridevirtual

Reimplemented from IInterface_AssetUserData.

◆ GetAssetUserDataOfClass()

UAssetUserData * UGeometryCollection::GetAssetUserDataOfClass ( TSubclassOf< UAssetUserData InUserDataClass)
overridevirtual

Returns an instance of the provided AssetUserData class if it's contained in the target asset.

Parameters
InUserDataClassUAssetUserData sub class to get
Returns
The instance of the UAssetUserData class contained, or null if it doesn't exist

Reimplemented from IInterface_AssetUserData.

◆ GetAutoInstanceMesh()

const FGeometryCollectionAutoInstanceMesh & UGeometryCollection::GetAutoInstanceMesh ( int32  AutoInstanceMeshIndex) const

find or add a auto instance mesh and return its index

◆ GetAutoInstanceTransformRemapIndices()

const TArray< int32 > & UGeometryCollection::GetAutoInstanceTransformRemapIndices ( ) const
inline

◆ GetBoneSelectedMaterial()

UMaterialInterface * UGeometryCollection::GetBoneSelectedMaterial ( )
static

◆ GetBoneSelectedMaterialIndex()

FORCEINLINE const int32 UGeometryCollection::GetBoneSelectedMaterialIndex ( ) const
inline

◆ GetBreadthFirstTransformIndices()

const TArray< int32 > & UGeometryCollection::GetBreadthFirstTransformIndices ( ) const
inline

◆ GetDataflowAsset()

UDataflow * UGeometryCollection::GetDataflowAsset ( ) const

◆ GetDataflowInstance() [1/2]

virtual const FDataflowInstance & UGeometryCollection::GetDataflowInstance ( ) const
inlineoverridevirtual

◆ GetDataflowInstance() [2/2]

virtual FDataflowInstance & UGeometryCollection::GetDataflowInstance ( )
inlineoverridevirtual

◆ GetDefaultSizeSpecificData() [1/2]

FGeometryCollectionSizeSpecificData & UGeometryCollection::GetDefaultSizeSpecificData ( )

Size Specific Data Access

◆ GetDefaultSizeSpecificData() [2/2]

const FGeometryCollectionSizeSpecificData & UGeometryCollection::GetDefaultSizeSpecificData ( ) const

◆ GetDefaultSizeSpecificDataIndex()

int UGeometryCollection::GetDefaultSizeSpecificDataIndex ( ) const

◆ GetGeometryCollection() [1/2]

TSharedPtr< FGeometryCollection, ESPMode::ThreadSafe > UGeometryCollection::GetGeometryCollection ( )
inline

◆ GetGeometryCollection() [2/2]

const TSharedPtr< FGeometryCollection, ESPMode::ThreadSafe > UGeometryCollection::GetGeometryCollection ( ) const
inline

◆ GetIdGuid()

FGuid UGeometryCollection::GetIdGuid ( ) const

Accessors for the two guids used to identify this collection

◆ GetMassOrDensity()

float UGeometryCollection::GetMassOrDensity ( bool bOutIsDensity) const

Get Mass or density as set by the asset ( this is the value used by to compute the cached attributes ) Mass is return in Kg and Density is returned in Kg/Cm3

Parameters
bOutIsDensityis set to true by the function if the returned value is to be treated as a density

◆ GetNaniteHierarchyOffset() [1/2]

uint32 UGeometryCollection::GetNaniteHierarchyOffset ( ) const

◆ GetNaniteHierarchyOffset() [2/2]

uint32 UGeometryCollection::GetNaniteHierarchyOffset ( int32  GeometryIndex,
bool  bFlattened = false 
) const

◆ GetNaniteResourceID()

uint32 UGeometryCollection::GetNaniteResourceID ( ) const

◆ GetRenderResourceSizeInfo()

FGeometryCollectionRenderResourceSizeInfo UGeometryCollection::GetRenderResourceSizeInfo ( ) const

get the size of the render data resources associated with this collection

◆ GetRootIndex()

int32 UGeometryCollection::GetRootIndex ( ) const
inline

Get the cached root index

◆ GetSelectedMaterialPath()

const TCHAR * UGeometryCollection::GetSelectedMaterialPath ( )
static

Returns the asset path for the automatically populated selected material.

◆ GetSharedSimulationParams()

void UGeometryCollection::GetSharedSimulationParams ( FSharedSimulationParameters OutParams) const

Fills params struct with parameters used for precomputing content.

◆ GetStateGuid()

FGuid UGeometryCollection::GetStateGuid ( ) const

◆ HasMeshData()

bool UGeometryCollection::HasMeshData ( ) const

Has data for static mesh rendering.

◆ HasNaniteData()

bool UGeometryCollection::HasNaniteData ( ) const

Has data for nanite rendering.

◆ HasVisibleGeometry()

bool UGeometryCollection::HasVisibleGeometry ( ) const

Returns true if there is anything to render

◆ InitializeMaterials()

void UGeometryCollection::InitializeMaterials ( bool  bHasLegacyInternalMaterialsPairs = false)

appends the standard materials to this UObject

◆ InitResources()

void UGeometryCollection::InitResources ( )

◆ InvalidateCollection()

void UGeometryCollection::InvalidateCollection ( )

Invalidates this collection signaling a structural change and renders any previously recorded caches unable to play with this collection

◆ IsEmpty()

bool UGeometryCollection::IsEmpty ( ) const

Return true if the collection is "Empty" ( has no transforms at all )

◆ IsReadyForFinishDestroy()

bool UGeometryCollection::IsReadyForFinishDestroy ( )
overridevirtual

Called to check if the object is ready for FinishDestroy. This is called after BeginDestroy to check the completion of the potentially asynchronous object cleanup.

Returns
True if the object's asynchronous cleanup has completed and it is ready for FinishDestroy to be called.

Reimplemented from UObject.

◆ IsSimulationDataDirty()

GEOMETRYCOLLECTIONENGINE_API bool UGeometryCollection::IsSimulationDataDirty ( ) const

Check to see if Simulation Data requires regeneration

◆ NumElements()

int32 UGeometryCollection::NumElements ( const FName Group) const

NumElements

◆ PostInitProperties()

void UGeometryCollection::PostInitProperties ( )
overridevirtual

UObject Interface

Reimplemented from UObject.

◆ PostLoad()

void UGeometryCollection::PostLoad ( )
overridevirtual

Do any object-specific cleanup required immediately after loading an object. This is not called for newly-created objects, and by default will always execute on the game thread.

Reimplemented from UObject.

◆ PreSave()

void UGeometryCollection::PreSave ( FObjectPreSaveContext  SaveContext)
overridevirtual

Presave function. Gets called once before an object gets serialized for saving. This function is necessary for save time computation as Serialize gets called three times per object from within SavePackage.

Warning
: Objects created from within PreSave will NOT have PreSave called on them!!!

Reimplemented from UObject.

◆ ReadDataflowContent()

void UGeometryCollection::ReadDataflowContent ( const TObjectPtr< UDataflowBaseContent > &  DataflowContent)
overridevirtual

Interface to update a dataflow content instance from that owner

Implements IDataflowContentOwner.

◆ ReindexMaterialSections()

void UGeometryCollection::ReindexMaterialSections ( )

ReindexMaterialSections

◆ ReleaseResources()

void UGeometryCollection::ReleaseResources ( )

◆ RemoveElements()

void UGeometryCollection::RemoveElements ( const FName Group,
const TArray< int32 > &  SortedDeletionList 
)

RemoveElements

◆ RemoveExemplars()

void UGeometryCollection::RemoveExemplars ( const TArray< int32 > &  SortedRemovalIndices)

Remove embedded geometry exemplars with indices matching the sorted removal list.

◆ RemoveLastMaterialSlot()

bool UGeometryCollection::RemoveLastMaterialSlot ( )

Remove a material from the materials array, keeping the selected bone material at the end of the array. Returns false if materials could not be removed (e.g. because there were too few).

◆ RemoveUserDataOfClass()

void UGeometryCollection::RemoveUserDataOfClass ( TSubclassOf< UAssetUserData InUserDataClass)
overridevirtual

Reimplemented from IInterface_AssetUserData.

◆ Reset()

void UGeometryCollection::Reset ( )

Return collection to initial (ie. empty) state.

◆ ResetFrom() [1/2]

void UGeometryCollection::ResetFrom ( const FManagedArrayCollection InCollection,
const TArray< UMaterial * > &  InMaterials,
bool  bHasInternalMaterials 
)

Reset the collection from another set of attributes and materials.

◆ ResetFrom() [2/2]

void UGeometryCollection::ResetFrom ( const FManagedArrayCollection InCollection,
const TArray< UMaterialInterface * > &  InMaterialInstances,
bool  bHasInternalMaterials 
)

◆ Serialize()

void UGeometryCollection::Serialize ( FArchive Ar)
virtual

End UObject Interface

Serialize

Reimplemented from UObject.

◆ SetAutoInstanceMeshes()

void UGeometryCollection::SetAutoInstanceMeshes ( const TArray< FGeometryCollectionAutoInstanceMesh > &  InAutoInstanceMeshes)

Assign an auto instanced meshes array if there's duplicate entry in the array , they will be collapsed as one and the index attribute will be adjusted acoordingly

◆ SetConvertVertexColorsToSRGB()

void UGeometryCollection::SetConvertVertexColorsToSRGB ( bool  bValue)

◆ SetDataflowAsset()

void UGeometryCollection::SetDataflowAsset ( UDataflow InDataflowAsset)

◆ SetEnableNanite()

void UGeometryCollection::SetEnableNanite ( bool  bValue)

◆ SetGeometryCollection()

void UGeometryCollection::SetGeometryCollection ( TSharedPtr< FGeometryCollection, ESPMode::ThreadSafe GeometryCollectionIn)
inline

Accessors for internal geometry collection

◆ UpdateConvexGeometry()

void UGeometryCollection::UpdateConvexGeometry ( )

◆ UpdateConvexGeometryIfMissing()

void UGeometryCollection::UpdateConvexGeometryIfMissing ( )

◆ UpdateGeometryDependentProperties()

void UGeometryCollection::UpdateGeometryDependentProperties ( )

◆ UPROPERTY() [1/2]

UGeometryCollection::UPROPERTY ( meta  = (DeprecatedProperty, DeprecationMessage="Use remove on break feature instead ( Fracture editor tools )."))

Enable remove pieces on fracture

◆ UPROPERTY() [2/2]

UGeometryCollection::UPROPERTY ( meta  = (DeprecatedProperty, DeprecationMessage="Use remove on break feature instead ( Fracture editor tools )."))

Materials relating to remove on fracture

◆ WriteDataflowContent()

void UGeometryCollection::WriteDataflowContent ( const TObjectPtr< UDataflowBaseContent > &  DataflowContent) const
overridevirtual

Interface to update a dataflow content instance from that owner

Implements IDataflowContentOwner.

Member Data Documentation

◆ AutoInstanceMeshes

TArray<FGeometryCollectionAutoInstanceMesh> UGeometryCollection::AutoInstanceMeshes

List of unique static mesh / materials pairs for auto instancing.

◆ bAutomaticCrumblePartialClusters

bool UGeometryCollection::bAutomaticCrumblePartialClusters

When using remove on sleep , automatically crumble partial cluster into smaller pieces when possible

◆ bConvertVertexColorsToSRGB

bool UGeometryCollection::bConvertVertexColorsToSRGB = true

Convert vertex colors to sRGB for rendering. Exposed to avoid changing vertex color rendering for legacy assets; should typically be true for new geometry collections.

◆ bDensityFromPhysicsMaterial

bool UGeometryCollection::bDensityFromPhysicsMaterial

Whether to use density ( for mass computation ) from physics material ( if physics material is not set, use the component one or defaults )

◆ bEnableNaniteFallback

bool UGeometryCollection::bEnableNaniteFallback

Enable Non-Nanite fallback mesh when Nanite support is enabled.

◆ bImportCollisionFromSource

bool UGeometryCollection::bImportCollisionFromSource

whether to import collision from the source asset

◆ bMassAsDensity

bool UGeometryCollection::bMassAsDensity

Mass As Density, units are in kg/m^3 ( only enabled if physics material is not set )

◆ bOptimizeConvexes

bool UGeometryCollection::bOptimizeConvexes = true

whether to optimize convexes for collisions. If true the convex optimizer will generate at runtime one single convex shape for physics collisions ignoring all the user defined ones. Enable p.Chaos.Convex.SimplifyUnion cvar to be able to use it (experimental)

◆ bRemoveOnMaxSleep

bool UGeometryCollection::bRemoveOnMaxSleep

Remove particle from simulation and dissolve rendered geometry once sleep threshold has been exceeded.

◆ bScaleOnRemoval

bool UGeometryCollection::bScaleOnRemoval

When enabled, particle will scale down (shrink) when using being removed ( using both remove on sleep or remove on break ) - Enabled by default

◆ bSlowMovingAsSleeping

bool UGeometryCollection::bSlowMovingAsSleeping

when on non-sleeping, slow moving pieces will be considered as sleeping, this helps removal of jittery but not really moving objects.

◆ bStripOnCook

bool UGeometryCollection::bStripOnCook

Strip unnecessary data from the Geometry Collection to keep the memory footprint as small as possible.

◆ bStripRenderDataOnCook

bool UGeometryCollection::bStripRenderDataOnCook

Strip unnecessary render data from the Geometry Collection to keep the memory footprint as small as possible. This may be used if the cooked build uses a custom renderer such as the ISMPool renderer.

◆ bUseFullPrecisionUVs

bool UGeometryCollection::bUseFullPrecisionUVs = false

Whether to use full precision UVs when rendering this geometry. (Does not apply to Nanite rendering)

◆ bUseMaterialDamageModifiers

bool UGeometryCollection::bUseMaterialDamageModifiers

When on , use the modifiers on the material to adjust the user defined damage threshold values

◆ bUseSizeSpecificDamageThreshold

bool UGeometryCollection::bUseSizeSpecificDamageThreshold

whether to use size specific damage threshold instead of level based ones ( see Size Specific Data array ).

◆ CachedDensityFromPhysicsMaterialInGCm3

float UGeometryCollection::CachedDensityFromPhysicsMaterialInGCm3

Cached Material density value used to compute the Mass attribute ( In gram per cm3 ) this is necessary because the material properties could be changed after without causing the mass attribute to be recomputed ( because the GC asset will not get notified )

◆ ClusterConnectionType

EClusterConnectionTypeEnum UGeometryCollection::ClusterConnectionType

◆ ClusterGroupIndex

int32 UGeometryCollection::ClusterGroupIndex

Cluster group index - Geometry Collections using the same index will simulate as one single cluster.

◆ ConnectionGraphBoundsFilteringMargin

float UGeometryCollection::ConnectionGraphBoundsFilteringMargin

◆ CustomRendererType

TObjectPtr<UClass> UGeometryCollection::CustomRendererType

Custom class type that will be used to render the geometry collection instead of using the native rendering.

◆ DamageModel

EDamageModelTypeEnum UGeometryCollection::DamageModel

Damage model to use for evaluating destruction.

◆ DamagePropagationData

FGeometryCollectionDamagePropagationData UGeometryCollection::DamagePropagationData

Data about how damage propagation shoudl behave.

◆ DamageThreshold

TArray<float> UGeometryCollection::DamageThreshold

Damage threshold for clusters at different levels.

◆ DataflowInstance

FDataflowInstance UGeometryCollection::DataflowInstance

◆ EmbeddedGeometryExemplar

TArray<FGeometryCollectionEmbeddedExemplar> UGeometryCollection::EmbeddedGeometryExemplar

References for embedded geometry generation

◆ EnableClustering

bool UGeometryCollection::EnableClustering

◆ EnableNanite

bool UGeometryCollection::EnableNanite

Enable support for Nanite.

◆ Mass

float UGeometryCollection::Mass

Total Mass of Collection. If density, units are in kg/m^3 ( only enabled if physics material is not set )

◆ Materials

TArray<TObjectPtr<UMaterialInterface> > UGeometryCollection::Materials

◆ MaxClusterLevel

int32 UGeometryCollection::MaxClusterLevel

Maximum level for cluster breaks.

◆ MaximumSleepTime

FVector2D UGeometryCollection::MaximumSleepTime

How long may the particle sleep before initiating removal (in seconds).

◆ MinimumMassClamp

float UGeometryCollection::MinimumMassClamp

Smallest allowable mass (def:0.1)

◆ NaniteMinimumResidencyInKB

uint32 UGeometryCollection::NaniteMinimumResidencyInKB

How much of the nanite resource should always be resident (In KB). Approximate due to paging. 0: Minimum size (single page). MAX_uint32: Entire mesh.

◆ Overrides

TMap<FString, FString> UGeometryCollection::Overrides

◆ PerClusterOnlyDamageThreshold

bool UGeometryCollection::PerClusterOnlyDamageThreshold

compatibility check, when true, only cluster compute damage from parameters and propagate to direct children when false, each child will compute it's damage threshold allowing for more precise and intuitive destruction behavior

◆ PhysicsMaterial

TObjectPtr<UPhysicalMaterial> UGeometryCollection::PhysicsMaterial

Physics material to use for the geometry collection

◆ RemovalDuration

FVector2D UGeometryCollection::RemovalDuration

How long does the removal process take (in seconds).

◆ RenderData

TUniquePtr<FGeometryCollectionRenderData> UGeometryCollection::RenderData

Pointer to the data used to render this geometry collection.

◆ RootProxyData

FGeometryCollectionProxyMeshData UGeometryCollection::RootProxyData

Static mesh to use as a proxy for rendering until the geometry collection is broken.

◆ SizeSpecificData

TArray<FGeometryCollectionSizeSpecificData> UGeometryCollection::SizeSpecificData

◆ SlowMovingVelocityThreshold

float UGeometryCollection::SlowMovingVelocityThreshold

When slow moving detection is on, this defines the linear velocity thresholds in cm/s to consider the object as sleeping .


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