TImplicitObjectTransformed

Transform the contained shape.

Windows
MacOS
Linux

Inheritance Hierarchy

FImplicitObject

TImplicitObjectTransformed

References

Module

Chaos

Header

/Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/ImplicitObjectTransformed.h

Include

#include "Chaos/ImplicitObjectTransformed.h"

Syntax

template<class T, int d, bool bSerializable>
class TImplicitObjectTransformed : public Chaos::FImplicitObject

Remarks

Transform the contained shape. If you pass a TUniquePtr to the constructor, ownership is transferred to the TransformedImplicit. If you pass a SerializablePtr, the lifetime of the object must be handled externally (do not delete it before deleting the TransformedImplicit). bSerializable Whether the shape can be serialized (usually true). Set to false for transient/stack-allocated objects.

Constructors

Name Description

Public function

TImplicitObjectTransformed

(
    const TImplicitObjectTransformed< T...
)

Public function

TImplicitObjectTransformed

(
    TImplicitObjectTransformed< T, d, b...
)

Public function

TImplicitObjectTransformed

(
    ObjectType Object,
    const TRigidTransform< T, d >& InT...
)

Create a transform around an ImplicitObject. Lifetime of the wrapped object is managed externally.

Public function

TImplicitObjectTransformed

(
    TUniquePtr< Chaos::FImplicitObject ...,
    const TRigidTransform< T, d >& InT...
)

Create a transform around an ImplicitObject and take control of its lifetime.

Destructors

Functions

Name Description

Public function Virtual Const

void

 

AccumulateAllImplicitObjects

(
    TArray< Pair< const FImplicitObject...,
    const TRigidTransform< T, d >& Par...
)

Public function Virtual Const

void

 

AccumulateAllSerializableImplicitObjects

(
    TArray< Pair< TSerializablePtr< FIm...,
    const TRigidTransform< T, d >& Par...,
    TSerializablePtr< FImplicitObject >...
)

Public function Virtual Const

void

 

FindAllIntersectingObjects

(
    TArray< Pair< const FImplicitObject...,
    const TAABB< T, d >& LocalBounds
)

Public function Virtual Const

Pair< TVecto...

 

FindClosestIntersectionImp

(
    const TVector< T, d >& StartPoint,
    const TVector< T, d >& EndPoint,
    const T Thickness
)

Public function Virtual Const

TVector< T, ...

 

FindGeometryOpposingNormal

(
    const TVector< T, d >& DenormDir,
    int32 FaceIndex,
    const TVector< T, d >& OriginalNor...
)

Public function Virtual Const

int32

 

FindMostOpposingFace

(
    const TVector< T, 3 >& Position,
    const TVector< T, 3 >& UnitDir,
    int32 HintFaceIndex,
    T SearchDistance
)

Public function Const

const FVec3

 

GetCenterOfMass()

Public function Const

bool

 

GetDoCollide()

Public function Const

const FMatri...

 

GetInertiaTensor

(
    const FReal Mass
)

Public function Const

const TRigid...

 

GetTransform()

Public function Const

const FImpli...

 

GetTransformedObject()

Public function Const

const FReal

 

GetVolume()

Public function Const

const Object...

 

Object()

Public function Virtual Const

bool

 

Overlap

(
    const TVector< T, d >& Point,
    const T Thickness
)

Public function Virtual Const

T

 

PhiWithNormal

(
    const TVector< T, d >& x,
    TVector< T, d >& Normal
)

Public function Virtual Const

bool

 

Raycast

(
    const TVector< T, d >& StartPoint,
    const TVector< T, d >& Dir,
    const T Length,
    const T Thickness,
    T& OutTime,
    TVector< T, d >& OutPosition,
    TVector< T, d >& OutNormal,
    int32& OutFaceIndex
)

Public function

void

 

SetTransform

(
    const TRigidTransform< T, d >& InT...
)

Public function Static

constexpr EI...

 

StaticType()

Overridden from FImplicitObject

Name Description

Public function Virtual Const

const TAABB<...

 

BoundingBox()

Public function Virtual Const

int32

 

FindClosestFaceAndVertices

(
    const FVec3& Position,
    TArray< FVec3 >& FaceVertices,
    FReal SearchDist
)

Finds the first intersecting face at given position

Public function Virtual Const

uint16

 

GetMaterialIndex

(
    uint32 HintIndex
)

Public function Virtual Const

uint32

 

GetTypeHash()

Public function Virtual

void

 

Serialize

(
    FChaosArchive& Ar
)

Typedefs

Name

Description

FStorage

ObjectType

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