FAnalyticImplicitGroup

Copyright Epic Games, Inc. All Rights Reserved.

Windows
MacOS
Linux

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/PhysicsProxy/AnalyticImplicitGroup.h

Include

#include "PhysicsProxy/AnalyticImplicitGroup.h"

Syntax

class FAnalyticImplicitGroup

Remarks

A collection of analytic implicit shapes parented to a single transform, in a hierarchy of transforms.

Currently we use this class to represent bones even if they don't have any implicit shapes.

Variables

Name Description

Protected variable

int32

 

BoneIndex

Protected variable

FName

 

BoneName

Protected variable

TArray< Chaos::...

 

Boxes

FKBoxElem.

Protected variable

TArray< Chaos::...

 

Capsules

FKSphylElem - Z axis is capsule axis.

Protected variable

TArray< FAnalyt...

 

Children

Protected variable

TArray< TArray<...

 

CollisionPoints

Protected variable

TArray< TArray<...

 

CollisionTriangles

Protected variable

TArray< Chaos::...

 

ContiguousCollisionPoints

Protected variable

TArray< Chaos::...

 

ConvexHulls

FKConvexElem.

Protected variable

TArray< Chaos::...

 

LevelSets

Chaos::TConvex replacement.

Protected variable

FAnalyticImplic...

 

Parent

Protected variable

int32

 

ParentBoneIndex

Protected variable

FTransform

 

RefBoneXf

Protected variable

int32

 

RigidBodyId

Protected variable

EObjectStateTyp...

 

RigidBodyState

Protected variable

TArray< Chaos::...

 

Spheres

FkSphereElem and FKTaperedCapsuleElem ends.

Protected variable

TArray< Chaos::...

 

TaperedCylinders

FKTaperedCapsuleElem - Z axis is the capsule axis.

Protected variable

TArray< FTransf...

 

Transforms

Constructors

Name Description

Public function

FAnalyticImplicitGroup()

Public function

FAnalyticImplicitGroup

(
    const FAnalyticImplicitGroup&
)

Public function

FAnalyticImplicitGroup

(
    FAnalyticImplicitGroup&& Other
)

Public function

FAnalyticImplicitGroup

(
    const FName& InBoneName,
    const int32 InBoneIndex
)

Destructors

Name Description

Public function

~FAnalyticImplicitGroup()

Functions

Name Description

Public function

int32

 

Add

(
    const FTransform& InitialXf,
    Chaos::TBox< Chaos::FReal, 3 >*...
)

Public function

int32

 

Add

(
    const FTransform& InitialXf,
    Chaos::TSphere< Chaos::FReal, 3 >&...
)

Public function

int32

 

Add

(
    const FTransform& InitialXf,
    Chaos::FLevelSet* LevelSet
)

Public function

int32

 

Add

(
    const FTransform& InitialXf,
    Chaos::FConvex* ConvexHull
)

Public function

int32

 

Add

(
    const FTransform& InitialXf,
    Chaos::FTaperedCylinder* Taper...
)

Public function

int32

 

Add

(
    const FTransform& InitialXf,
    Chaos::FCapsule* Capsule
)

Protected function

void

 

AddChild

(
    FAnalyticImplicitGroup* Child
)

Public function

Chaos::FMass...

 

BuildMassProperties

(
    const Chaos::FReal Density,
    Chaos::FReal& TotalMass
)

Public function

TArray< Chao...

 

BuildSamplePoints

(
    const Chaos::FReal ParticlesPerUnit...,
    const int32 MinParticles,
    const int32 MaxParticles
)

Public function Const

TArray< Chao...

 

BuildSampleTopology()

Public function

Chaos::FImpl...

 

BuildSimImplicitObject()

Build the implicit object representation of this object.

Protected function

void

 

ClearHierarchy()

Protected function

void

 

CullDeepPoints

(
    TArray< Chaos::FVec3 >& Points,
    const TImplicitShape& Shape,
    const FTransform& Xf
)

Protected function

void

 

CullDeepPoints

(
    TArray< Chaos::FVec3 >& Points,
    const int32 SkipIndex
)

Public function Const

const int32

 

GetBoneIndex()

Public function Const

const FName ...

 

GetBoneName()

Protected function Const

const TArray...

 

GetChildren()

Public function Const

const TArray...

 

GetInitialStructureTransforms()

Protected function Const

const FAnaly...

 

GetParent()

Public function Const

const int32

 

GetParentBoneIndex()

Public function Const

int32

 

GetRigidBodyId()

Public function Const

EObjectState...

 

GetRigidBodyState()

Public function

void

 

Init

(
    const int32 NumStructures,
    const bool DoCollGeom
)

Public function

bool

 

IsValid()

Public function Const

int32

 

NumStructures()

The number of analytic shapes in this group.

Public function

void

 

ResetTransforms()

Public function

void

 

SetCollisionTopology

(
    const int32 Index,
    TArray< Chaos::FVec3 >&& Points,
    TArray< Chaos::TVec3< int32 >>&& T...
)

Protected function

void

 

SetParent

(
    FAnalyticImplicitGroup* InPare...
)

Public function

void

 

SetParentBoneIndex

(
    const int32 InParentBoneIndex
)

Public function

void

 

SetRigidBodyId

(
    const int32 InRigidBodyId
)

Public function

void

 

SetRigidBodyState

(
    const EObjectStateTypeEnum State
)

Protected function

Chaos::FImpl...

 

TransferImplicitObj

(
    int32 Idx
)

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