TImplicitObjectScaled

Windows
MacOS
Linux

Inheritance Hierarchy

FImplicitObject

TImplicitObjectScaled

References

Module

Chaos

Header

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

Include

#include "Chaos/ImplicitObjectScaled.h"

Syntax

template<typename TConcrete, bool bInstanced>
class TImplicitObjectScaled : public Chaos::FImplicitObject

Constructors

Name Description

Public function

TImplicitObjectScaled

(
    const TImplicitObjectScaled < TConcr...
)

Public function

TImplicitObjectScaled

(
    TImplicitObjectScaled < TConcrete, b...
)

Public function

TImplicitObjectScaled

(
    ObjectType Object,
    const TVector < T , d >& Scale,
    T Thickness
)

Public function

TImplicitObjectScaled

(
    TSharedPtr < TConcrete, ESPMode::Thr ...,
    const TVector < T , d >& Scale,
    T Thickness
)

Public function

TImplicitObjectScaled

(
    ObjectType Object,
    TUniquePtr < Chaos::FImplicitObject ...,
    const TVector < T , d >& Scale,
    T Thickness
)

Destructors

Name Description

Public function

~TImplicitObjectScaled()

Functions

Name Description

Public function Static

TImplicitObj ...

 

AsScaled

(
    FImplicitObject & Obj
)

Public function Static

const TImpli ...

 

AsScaled

(
    const FImplicitObject & Obj
)

Public function Static

TImplicitObj ...

 

AsScaledChecked

(
    FImplicitObject & Obj
)

Public function Static

const TImpli ...

 

AsScaledChecked

(
    const FImplicitObject & Obj
)

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 HintFaceIndex,
    const TVector < T , d >& OriginalNor...
)

Public function Virtual Const

int32

 

FindMostOpposingFace

(
    const TVector < T , d >& Position,
    const TVector < T , d >& UnitDir,
    int32 HintFaceIndex,
    T SearchDist
)

Public function Const

const TConcr...

 

GetUnscaledObject()

Public function Const

bool

 

GJKContactPoint

(
    const QueryGeomType& A,
    const FRigidTransform3 & AToBTM,
    const FReal Thickness,
    FVec3 & Location,
    FVec3 & Normal,
    FReal & Penetration
)

Public function Const

bool

 

LowLevelOverlapGeom

(
    const QueryGeomType& B,
    const TRigidTransform < T , d >& BTo...,
    T Thickness,
    FMTDInfo * OutMTD
)

This is a low level function and assumes the internal object has a OverlapGeom function.

Public function Const

bool

 

LowLevelSweepGeom

(
    const QueryGeomType& B,
    const TRigidTransform < T , d >& BTo...,
    const TVector < T , d >& LocalDir,
    const T Length,
    T & OutTime,
    TVector < T , d >& LocalPosition,
    TVector < T , d >& LocalNormal,
    int32 & OutFaceIndex,
    T Thickness,
    bool bComputeMTD
)

This is a low level function and assumes the internal object has a SweepGeom function.

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 Static

constexpr EI ...

 

StaticType()

Public function Const

TVector < T , ...

 

Support

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

Overridden from FImplicitObject

Name Description

Public function Virtual Const

int32

 

FindClosestFaceAndVertices

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

Finds the first intersecting face at given position

Typedefs

Name

Description

ObjectType

T

TType

Constants

Name

Description

d

D

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