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

 

bMassAsDensity

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

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

UObject *

 

EditableMesh

The editable mesh representation of this geometry collection

Public variable

bool

 

EnableRemovePiecesOnFracture

Enable remove pieces on fracture

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

 

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 int

 

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

 

InvalidateCollection()

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

Public function Const

int32

 

NumElements

(
    const FName & Group
)

NumElements

Public function

void

 

ReindexMaterialSections()

ReindexMaterialSections

Public function

void

 

RemoveElements

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

RemoveElements

Public function

void

 

SetGeometryCollection

(
    TSharedPtr < FGeometryCollection , ES ...
)

Accessors for internal geometry collection

Overridden from UObject

Name Description

Public function Virtual

bool

 

Modify

(
    bool bAlwaysMarkDirty
)

Note 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

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback