UGeometryCollection

UGeometryCollectionObject ([UObject](API\Runtime\CoreUObject\UObject\UObject))

Windows
MacOS
Linux

Inheritance Hierarchy

UObjectBase

UObjectBaseUtility

UObject

UGeometryCollection

References

Module

GeometryCollectionEngine

Header

/Engine/Source/Runtime/Experimental/GeometryCollectionEngine/Public/GeometryCollection/GeometryCollectionObject.h

Include

#include "GeometryCollection/GeometryCollectionObject.h"

Syntax

class UGeometryCollection : public UObject

Remarks

UGeometryCollectionObject (UObject)

UObject wrapper for the FGeometryCollection

Variables

Name Description

Public variable

bool

 

bManualDataCreate

If this flag is set, we only regenerate simulation data when requested via CreateSimulationData()

Public variable

bool

 

bMassAsDensity

Mass As Density, units are in kg/m^3

Public variable

EClusterConnect...

 

ClusterConnectionType

Public variable

int32

 

ClusterGroupIndex

Maximum level for cluster breaks.

Public variable

float

 

CollisionObjectReductionPercentage

Resolution on the smallest axes for the level set. (def: 10)

Public variable

float

 

CollisionParticlesFraction

Number of particles on the triangulated surface to use for collisions.

Public variable

ECollisionTypeE...

 

CollisionType

CollisionType defines how to initialize the rigid collision structures.

Public variable

TArray< float >

 

DamageThreshold

Damage threshold for clusters at different levels.

Public variable

UObject *

 

EditableMesh

The editable mesh representation of this geometry collection

Public variable

bool

 

EnableClustering

Public variable

bool

 

EnableRemovePiecesOnFracture

Enable remove pieces on fracture

Public variable

TArray< FGeomet...

 

GeometrySource

Public variable

EImplicitTypeEn...

 

ImplicitType

CollisionType defines how to initialize the rigid collision structures.

Public variable

float

 

Mass

Total Mass of Collection. If density, units are in kg/m^3

Public variable

TArray< UMateri...

 

Materials

Public variable

int32

 

MaxClusterLevel

Maximum level for cluster breaks.

Public variable

int32

 

MaxClusterLevelSetResolution

Resolution on the smallest axes for the level set. (def: 10)

Public variable

int32

 

MaximumCollisionParticles

Max number of particles.

Public variable

int32

 

MaxLevelSetResolution

Resolution on the smallest axes for the level set. (def: 10)

Public variable

int32

 

MinClusterLevelSetResolution

Resolution on the smallest axes for the level set. (def: 5)

Public variable

float

 

MinimumMassClamp

Smallest allowable mass (def:0.1)

Public variable

int32

 

MinLevelSetResolution

Resolution on the smallest axes for the level set. (def: 5)

Public variable

TArray< UMateri...

 

RemoveOnFractureMaterials

Materials relating to remove on fracture

Public variable

TArray< FGeomet...

 

SizeSpecificData

Public variable

UThumbnailInfo ...

 

ThumbnailInfo

Information for thumbnail rendering

Constructors

Name Description

Public function

UGeometryCollection

(
    const FObjectInitializer& ObjectIn...
)

Public function

UGeometryCollection

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Public function

int32

 

AppendGeometry

(
    const UGeometryCollection& Element,
    bool ReindexAllMaterials,
    const FTransform& TransformRoot
)

AppendGeometry

Public function

void

 

CreateSimulationData()

Create the simulation data that can be shared among all instances (mass, volume, etc...)

Public function

void

 

EnsureDataIsCooked()

Public function Const

void

 

FixupRemoveOnFractureMaterials

(
    FSharedSimulationParameters& Share...
)

Public function Const

const int32

 

GetBoneSelectedMaterialIndex()

Public function Const

const TShare...

 

GetGeometryCollection()

Public function

TSharedPtr< ...

 

GetGeometryCollection()

Public function Const

FGuid

 

GetIdGuid()

Accessors for the two guids used to identify this collection

Public function Const

void

 

GetSharedSimulationParams

(
    FSharedSimulationParameters& OutPa...
)

Fills params struct with parameters used for precomputing content.

Public function Const

FGuid

 

GetStateGuid()

Public function Const

bool

 

HasVisibleGeometry()

Returns true if there is anything to render

Public function

void

 

InitializeMaterials()

Appends the standard materials to this uobject

Public function

void

 

InitResources()

Public function

void

 

InvalidateCollection()

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

Public function Const

bool

 

IsSimulationDataDirty()

Check to see if Simulation Data requires regeneration

Public function Const

int32

 

NumElements

(
    const FName& Group
)

NumElements

Public function

void

 

ReindexMaterialSections()

ReindexMaterialSections

Public function

void

 

ReleaseResources()

Public function

void

 

RemoveElements

(
    const FName& Group,
    const TArray< int32 >& SortedDelet...
)

RemoveElements

Public function

void

 

Reset()

Return collection to initial (ie. empty) state.

Public function

void

 

SetGeometryCollection

Accessors for internal geometry collection

Overridden from UObject

Name Description

Public function Virtual

bool

 

Modify

(
    bool bAlwaysMarkDirty
)

That the object will be modified.

Public function Virtual

void

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

UObject Interface

Public function Virtual

void

 

Serialize

(
    FArchive& Ar
)

End UObject Interface

Serialize

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss