UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
Chaos::TImplicitObjectInstanced< TConcrete > Class Template Referencefinal

#include <ImplicitObjectScaled.h>

+ Inheritance diagram for Chaos::TImplicitObjectInstanced< TConcrete >:

Public Types

using T = typename TConcrete::TType
 
using TType = T
 
using ObjectType = TRefCountPtr< TConcrete >
 
- Public Types inherited from Chaos::FImplicitObject
using TType = FReal
 

Public Member Functions

 TImplicitObjectInstanced ()
 
 TImplicitObjectInstanced (const ObjectType &&Object, const FReal InMargin=0)
 
 TImplicitObjectInstanced (const ObjectType &Object, const FReal InMargin=0)
 
 TImplicitObjectInstanced (TImplicitObjectInstanced< TConcrete > &&Other)
 
virtual TSerializablePtr< FImplicitObjectGetInnerObject () const override
 
const TConcreteGetInstancedObject () const
 
virtual FReal GetRadius () const override
 
virtual FRealSingle GetRadiusf () const override
 
bool GetDoCollide () const
 
virtual FReal PhiWithNormal (const FVec3 &X, FVec3 &Normal) const override
 
virtual bool Raycast (const FVec3 &StartPoint, const FVec3 &Dir, const FReal Length, const FReal Thickness, FReal &OutTime, FVec3 &OutPosition, FVec3 &OutNormal, int32 &OutFaceIndex) const override
 
virtual void Serialize (FChaosArchive &Ar) override
 
virtual int32 FindMostOpposingFace (const FVec3 &Position, const FVec3 &UnitDir, int32 HintFaceIndex, FReal SearchDist) const override
 
virtual FVec3 FindGeometryOpposingNormal (const FVec3 &DenormDir, int32 HintFaceIndex, const FVec3 &OriginalNormal) const override
 
virtual bool Overlap (const FVec3 &Point, const FReal Thickness) const override
 
FORCEINLINE_DEBUGGABLE FVec3 Support (const FVec3 &Direction, const FReal Thickness, int32 &VertexIndex) const
 
FORCEINLINE_DEBUGGABLE FVec3 SupportScaled (const FVec3 &Direction, const T Thickness, const FVec3 &Scale, int32 &VertexIndex) const
 
FORCEINLINE_DEBUGGABLE FVec3 SupportCore (const FVec3 &Direction, const FReal InMargin, FReal *OutSupportDelta, int32 &VertexIndex) const
 
FORCEINLINE_DEBUGGABLE VectorRegister4Float SupportCoreSimd (const VectorRegister4Float &Direction, const FReal InMargin) const
 
virtual const FAABB3 BoundingBox () const override
 
const ObjectType Object () const
 
virtual uint32 GetTypeHash () const override
 
virtual EImplicitObjectType GetNestedType () const override
 
virtual Chaos::FImplicitObjectPtr CopyGeometry () const override
 
virtual Chaos::FImplicitObjectPtr CopyGeometryWithScale (const FVec3 &Scale) const override
 
virtual FString ToString () const override
 
template<typename QueryGeomType >
bool LowLevelSweepGeom (const QueryGeomType &B, const TRigidTransform< T, d > &BToATM, const TVector< T, d > &LocalDir, const T Length, T &OutTime, TVector< T, d > &LocalPosition, TVector< T, d > &LocalNormal, int32 &OutFaceIndex, TVector< T, d > &OutFaceNormal, T Thickness=0, bool bComputeMTD=false) const
 
template<typename QueryGeomType >
bool LowLevelOverlapGeom (const QueryGeomType &B, const TRigidTransform< T, d > &BToATM, T Thickness=0, FMTDInfo *OutMTD=nullptr) const
 
template<typename QueryGeomType >
bool GJKContactPoint (const QueryGeomType &A, const FRigidTransform3 &AToBTM, const FReal Thickness, FVec3 &Location, FVec3 &Normal, FReal &Penetration, int32 &FaceIndex) const
 
virtual uint16 GetMaterialIndex (uint32 HintIndex) const
 
int32 GetMostOpposingPlane (const FVec3 &Normal) const
 
FVec3 GetClosestEdge (int32 PlaneIndex, const FVec3 &Position, FVec3 &OutEdgePos0, FVec3 &OutEdgePos1) const
 
FVec3 GetClosestEdgePosition (int32 PlaneIndex, const FVec3 &Position) const
 
bool GetClosestEdgeVertices (int32 PlaneIndexHint, const FVec3 &Position, int32 &OutVertexIndex0, int32 &OutVertexIndex1) const
 
int32 FindVertexPlanes (int32 VertexIndex, int32 *OutVertexPlanes, int32 MaxVertexPlanes) const
 
int32 GetVertexPlanes3 (int32 VertexIndex, int32 &PlaneIndex0, int32 &PlaneIndex1, int32 &PlaneIndex2) const
 
int32 NumPlaneVertices (int32 PlaneIndex) const
 
int32 GetPlaneVertex (int32 PlaneIndex, int32 PlaneVertexIndex) const
 
int32 GetEdgeVertex (int32 EdgeIndex, int32 EdgeVertexIndex) const
 
int32 GetEdgePlane (int32 EdgeIndex, int32 EdgePlaneIndex) const
 
int32 NumPlanes () const
 
int32 NumEdges () const
 
int32 NumVertices () const
 
const TPlaneConcrete< FReal, 3 > GetPlane (int32 FaceIndex) const
 
void GetPlaneNX (const int32 FaceIndex, FVec3 &OutN, FVec3 &OutX) const
 
const FVec3 GetVertex (int32 VertexIndex) const
 
const FVec3 GetCenterOfMass () const
 
FRotation3 GetRotationOfMass () const
 
const FMatrix33 GetInertiaTensor (const FReal Mass) const
 
virtual FName GetTypeName () const
 
- Public Member Functions inherited from Chaos::FImplicitObjectInstanced
 FImplicitObjectInstanced (int32 Flags, EImplicitObjectType InType)
 
FORCEINLINE FReal GetWindingOrder () const
 
- Public Member Functions inherited from Chaos::FImplicitObject
CHAOS_API FImplicitObject (int32 Flags, EImplicitObjectType InType=ImplicitObjectType::Unknown)
 
 FImplicitObject (const FImplicitObject &)=delete
 
 FImplicitObject (FImplicitObject &&)=delete
 
virtual CHAOS_API ~FImplicitObject () override
 
template<typename TargetType >
bool IsA () const
 
template<typename TargetType >
const TargetType * AsA () const
 
template<typename TargetType >
TargetType * AsA ()
 
template<typename TargetType >
const TargetType * AsAChecked () const
 
template<typename TargetType >
TargetType * AsAChecked ()
 
template<class T_DERIVED >
T_DERIVEDGetObject ()
 
template<class T_DERIVED >
const T_DERIVEDGetObject () const
 
template<class T_DERIVED >
const T_DERIVEDGetObjectChecked () const
 
template<class T_DERIVED >
T_DERIVEDGetObjectChecked ()
 
CHAOS_API EImplicitObjectType GetType () const
 
CHAOS_API EImplicitObjectType GetCollisionType () const
 
void SetCollisionType (EImplicitObjectType InCollisionType)
 
virtual FReal GetMargin () const
 
virtual FRealSingle GetMarginf () const
 
virtual CHAOS_API bool IsValidGeometry () const
 
virtual Chaos::FImplicitObjectPtr DeepCopyGeometry () const
 
virtual Chaos::FImplicitObjectPtr DeepCopyGeometryWithScale (const FVec3 &Scale) const
 
virtual FImplicitObjectDuplicate () const
 
virtual TUniquePtr< FImplicitObjectCopy () const
 
virtual TUniquePtr< FImplicitObjectCopyWithScale (const FVec3 &Scale) const
 
virtual TUniquePtr< FImplicitObjectDeepCopy () const
 
virtual TUniquePtr< FImplicitObjectDeepCopyWithScale (const FVec3 &Scale) const
 
CHAOS_API bool IsUnderlyingUnion () const
 
CHAOS_API bool IsUnderlyingMesh () const
 
CHAOS_API FReal SignedDistance (const FVec3 &x) const
 
CHAOS_API FVec3 Normal (const FVec3 &x) const
 
virtual FReal PhiWithNormalScaled (const FVec3 &Pos, const FVec3 &Scale, FVec3 &Normal) const
 
virtual FAABB3 CalculateTransformedBounds (const FRigidTransform3 &Transform) const
 
bool HasBoundingBox () const
 
bool IsConvex () const
 
void SetConvex (const bool Convex=true)
 
void SetDoCollide (const bool Collide)
 
bool GetDoCollide () const
 
CHAOS_API void Track (TSerializablePtr< FImplicitObject > This, const FString &DebugInfo)
 
virtual bool IsPerformanceWarning () const
 
virtual FString PerformanceWarningAndSimplifaction ()
 
CHAOS_API Pair< FVec3, boolFindDeepestIntersection (const FImplicitObject *Other, const FBVHParticles *Particles, const FMatrix33 &OtherToLocalTransform, const FReal Thickness) const
 
CHAOS_API Pair< FVec3, boolFindDeepestIntersection (const FImplicitObject *Other, const FParticles *Particles, const FMatrix33 &OtherToLocalTransform, const FReal Thickness) const
 
CHAOS_API Pair< FVec3, boolFindClosestIntersection (const FVec3 &StartPoint, const FVec3 &EndPoint, const FReal Thickness) const
 
virtual int32 FindMostOpposingFaceScaled (const FVec3 &Position, const FVec3 &UnitDir, int32 HintFaceIndex, FReal SearchDist, const FVec3 &Scale) const
 
virtual int32 FindClosestFaceAndVertices (const FVec3 &Position, TArray< FVec3 > &FaceVertices, FReal SearchDist=0.01f) const
 
virtual void AccumulateAllImplicitObjects (TArray< Pair< const FImplicitObject *, FRigidTransform3 > > &Out, const FRigidTransform3 &ParentTM) const
 
virtual void AccumulateAllSerializableImplicitObjects (TArray< Pair< TSerializablePtr< FImplicitObject >, FRigidTransform3 > > &Out, const FRigidTransform3 &ParentTM, TSerializablePtr< FImplicitObject > This) const
 
virtual CHAOS_API void FindAllIntersectingObjects (TArray< Pair< const FImplicitObject *, FRigidTransform3 > > &Out, const FAABB3 &LocalBounds) const
 
CHAOS_API void SerializeImp (FArchive &Ar)
 
virtual void Serialize (FArchive &Ar)
 
int32 CountObjectsInHierarchy () const
 
int32 CountLeafObjectsInHierarchy () const
 
void VisitOverlappingLeafObjects (const FAABB3 &LocalBounds, const FImplicitHierarchyVisitor &Visitor) const
 
void VisitLeafObjects (const FImplicitHierarchyVisitor &Visitor) const
 
void VisitObjects (const FImplicitHierarchyVisitorBool &Visitor) const
 
bool IsOverlappingBounds (const FAABB3 &LocalBounds) const
 
virtual int32 CountObjectsInHierarchyImpl () const
 
virtual int32 CountLeafObjectsInHierarchyImpl () const
 
virtual void VisitOverlappingLeafObjectsImpl (const FAABB3 &LocalBounds, const FRigidTransform3 &ObjectTransform, const int32 RootObjectIndex, int32 &ObjectIndex, int32 &LeafObjectIndex, const FImplicitHierarchyVisitor &VisitorFunc) const
 
virtual void VisitLeafObjectsImpl (const FRigidTransform3 &ObjectTransform, const int32 RootObjectIndex, int32 &ObjectIndex, int32 &LeafObjectIndex, const FImplicitHierarchyVisitor &VisitorFunc) const
 
virtual bool VisitObjectsImpl (const FRigidTransform3 &ObjectTransform, const int32 RootObjectIndex, int32 &ObjectIndex, int32 &LeafObjectIndex, const FImplicitHierarchyVisitorBool &VisitorFunc) const
 
virtual bool IsOverlappingBoundsImpl (const FAABB3 &LocalBounds) const
 
- Public Member Functions inherited from Chaos::FChaosRefCountedObject
 FChaosRefCountedObject ()
 
virtual ~FChaosRefCountedObject ()
 
 FChaosRefCountedObject (const FChaosRefCountedObject &Rhs)=delete
 
FChaosRefCountedObjectoperator= (const FChaosRefCountedObject &Rhs)=delete
 
uint32 AddRef () const
 
uint32 Release () const
 
uint32 GetRefCount () const
 
void MakePersistent () const
 

Static Public Member Functions

static constexpr EImplicitObjectType StaticType ()
 
static const TImplicitObjectInstanced< TConcrete > & AsInstancedChecked (const FImplicitObject &Obj)
 
static const TImplicitObjectInstanced< TConcrete > * AsInstanced (const FImplicitObject &Obj)
 
static TImplicitObjectInstanced< TConcrete > * AsInstanced (FImplicitObject &Obj)
 
static CHAOS_API const FName GetTypeName (const EImplicitObjectType InType)
 
- Static Public Member Functions inherited from Chaos::FImplicitObject
static CHAOS_API FImplicitObjectSerializationFactory (FChaosArchive &Ar, FImplicitObject *Obj)
 
static int32 GetOffsetOfType ()
 
static int32 GetOffsetOfMargin ()
 
static constexpr EImplicitObjectType StaticType ()
 
static CHAOS_API FArchiveSerializeLegacyHelper (FArchive &Ar, TUniquePtr< FImplicitObject > &Value)
 
static CHAOS_API const FName GetTypeName (const EImplicitObjectType InType)
 

Static Public Attributes

static constexpr int d = TConcrete::D
 
static constexpr int D = d
 
- Static Public Attributes inherited from Chaos::FImplicitObject
static constexpr int D = 3
 

Static Protected Member Functions

static TImplicitObjectInstanced< TConcrete > * CopyHelper (const TImplicitObjectInstanced< TConcrete > *Obj)
 
- Static Protected Member Functions inherited from Chaos::FImplicitObject
static FVec3 ScaleNormalizedHelper (const FVec3 &Normal, const FVec3 &Scale)
 
static FVec3 GetOuterScaledNormal (const FVec3 &InnerNormal, const FVec3 &Scale)
 
static FVec3 GetInnerUnscaledNormal (const FVec3 &OuterNormal, const FVec3 &Scale)
 

Protected Attributes

ObjectType MObject
 
- Protected Attributes inherited from Chaos::FImplicitObjectInstanced
FRealSingle OuterMargin
 
- Protected Attributes inherited from Chaos::FImplicitObject
FRealSingle Margin
 
bool bIsConvex
 
bool bDoCollide
 
bool bHasBoundingBox
 
bool bIsTracked
 
EImplicitObjectType Type
 
EImplicitObjectType CollisionType
 

Additional Inherited Members

- Protected Member Functions inherited from Chaos::FImplicitObject
void SetMargin (FReal InMargin)
 
void SetMargin (FRealSingle InMargin)
 

Member Typedef Documentation

◆ ObjectType

◆ T

template<typename TConcrete >
using Chaos::TImplicitObjectInstanced< TConcrete >::T = typename TConcrete::TType

◆ TType

Constructor & Destructor Documentation

◆ TImplicitObjectInstanced() [1/4]

template<typename TConcrete >
Chaos::TImplicitObjectInstanced< TConcrete >::TImplicitObjectInstanced ( )
inline

◆ TImplicitObjectInstanced() [2/4]

template<typename TConcrete >
Chaos::TImplicitObjectInstanced< TConcrete >::TImplicitObjectInstanced ( const ObjectType &&  Object,
const FReal  InMargin = 0 
)
inline

◆ TImplicitObjectInstanced() [3/4]

template<typename TConcrete >
Chaos::TImplicitObjectInstanced< TConcrete >::TImplicitObjectInstanced ( const ObjectType Object,
const FReal  InMargin = 0 
)
inline

◆ TImplicitObjectInstanced() [4/4]

template<typename TConcrete >
Chaos::TImplicitObjectInstanced< TConcrete >::TImplicitObjectInstanced ( TImplicitObjectInstanced< TConcrete > &&  Other)
inline

Member Function Documentation

◆ AsInstanced() [1/2]

template<typename TConcrete >
static const TImplicitObjectInstanced< TConcrete > * Chaos::TImplicitObjectInstanced< TConcrete >::AsInstanced ( const FImplicitObject Obj)
inlinestatic

◆ AsInstanced() [2/2]

◆ AsInstancedChecked()

template<typename TConcrete >
static const TImplicitObjectInstanced< TConcrete > & Chaos::TImplicitObjectInstanced< TConcrete >::AsInstancedChecked ( const FImplicitObject Obj)
inlinestatic

◆ BoundingBox()

template<typename TConcrete >
virtual const FAABB3 Chaos::TImplicitObjectInstanced< TConcrete >::BoundingBox ( ) const
inlineoverridevirtual

Reimplemented from Chaos::FImplicitObject.

◆ CopyGeometry()

template<typename TConcrete >
virtual Chaos::FImplicitObjectPtr Chaos::TImplicitObjectInstanced< TConcrete >::CopyGeometry ( ) const
inlineoverridevirtual

Reimplemented from Chaos::FImplicitObject.

◆ CopyGeometryWithScale()

template<typename TConcrete >
Chaos::FImplicitObjectPtr Chaos::TImplicitObjectInstanced< TConcrete >::CopyGeometryWithScale ( const FVec3 Scale) const
overridevirtual

Reimplemented from Chaos::FImplicitObject.

◆ CopyHelper()

◆ FindGeometryOpposingNormal()

template<typename TConcrete >
virtual FVec3 Chaos::TImplicitObjectInstanced< TConcrete >::FindGeometryOpposingNormal ( const FVec3 DenormDir,
int32  FaceIndex,
const FVec3 OriginalNormal 
) const
inlineoverridevirtual

Given a normal and a face index, compute the most opposing normal associated with the underlying geometry features. For example a sphere swept against a box may not give a normal associated with one of the box faces. This function will return a normal associated with one of the faces.

Parameters
DenormDir- the direction we want to oppose
FaceIndex- the face index associated with the geometry (for example if we hit a specific face of a convex hull)
OriginalNormal- the original normal given by something like a sphere sweep
Returns
The most opposing normal associated with the underlying geometry's feature (like a face)

Reimplemented from Chaos::FImplicitObject.

◆ FindMostOpposingFace()

template<typename TConcrete >
virtual int32 Chaos::TImplicitObjectInstanced< TConcrete >::FindMostOpposingFace ( const FVec3 Position,
const FVec3 UnitDir,
int32  HintFaceIndex,
FReal  SearchDist 
) const
inlineoverridevirtual

Returns the most opposing face.

Parameters
Position- local position to search around (for example an edge of a convex hull)
UnitDir- the direction we want to oppose (for example a ray moving into the edge of a convex hull would get the face with the most negative dot(FaceNormal, UnitDir)
HintFaceIndex- for certain geometry we can use this to accelerate the search.
Returns
Index of the most opposing face

Reimplemented from Chaos::FImplicitObject.

◆ FindVertexPlanes()

template<typename TConcrete >
int32 Chaos::TImplicitObjectInstanced< TConcrete >::FindVertexPlanes ( int32  VertexIndex,
int32 OutVertexPlanes,
int32  MaxVertexPlanes 
) const
inline

◆ GetCenterOfMass()

template<typename TConcrete >
const FVec3 Chaos::TImplicitObjectInstanced< TConcrete >::GetCenterOfMass ( ) const
inline

◆ GetClosestEdge()

template<typename TConcrete >
FVec3 Chaos::TImplicitObjectInstanced< TConcrete >::GetClosestEdge ( int32  PlaneIndex,
const FVec3 Position,
FVec3 OutEdgePos0,
FVec3 OutEdgePos1 
) const
inline

◆ GetClosestEdgePosition()

template<typename TConcrete >
FVec3 Chaos::TImplicitObjectInstanced< TConcrete >::GetClosestEdgePosition ( int32  PlaneIndex,
const FVec3 Position 
) const
inline

◆ GetClosestEdgeVertices()

template<typename TConcrete >
bool Chaos::TImplicitObjectInstanced< TConcrete >::GetClosestEdgeVertices ( int32  PlaneIndexHint,
const FVec3 Position,
int32 OutVertexIndex0,
int32 OutVertexIndex1 
) const
inline

◆ GetDoCollide()

template<typename TConcrete >
bool Chaos::TImplicitObjectInstanced< TConcrete >::GetDoCollide ( ) const
inline

◆ GetEdgePlane()

template<typename TConcrete >
int32 Chaos::TImplicitObjectInstanced< TConcrete >::GetEdgePlane ( int32  EdgeIndex,
int32  EdgePlaneIndex 
) const
inline

◆ GetEdgeVertex()

template<typename TConcrete >
int32 Chaos::TImplicitObjectInstanced< TConcrete >::GetEdgeVertex ( int32  EdgeIndex,
int32  EdgeVertexIndex 
) const
inline

◆ GetInertiaTensor()

template<typename TConcrete >
const FMatrix33 Chaos::TImplicitObjectInstanced< TConcrete >::GetInertiaTensor ( const FReal  Mass) const
inline

◆ GetInnerObject()

template<typename TConcrete >
virtual TSerializablePtr< FImplicitObject > Chaos::TImplicitObjectInstanced< TConcrete >::GetInnerObject ( ) const
inlineoverridevirtual

Reimplemented from Chaos::FImplicitObjectInstanced.

◆ GetInstancedObject()

template<typename TConcrete >
const TConcrete * Chaos::TImplicitObjectInstanced< TConcrete >::GetInstancedObject ( ) const
inline

◆ GetMaterialIndex()

template<typename TConcrete >
virtual uint16 Chaos::TImplicitObjectInstanced< TConcrete >::GetMaterialIndex ( uint32  HintIndex) const
inlinevirtual

Reimplemented from Chaos::FImplicitObject.

◆ GetMostOpposingPlane()

template<typename TConcrete >
int32 Chaos::TImplicitObjectInstanced< TConcrete >::GetMostOpposingPlane ( const FVec3 Normal) const
inline

◆ GetNestedType()

template<typename TConcrete >
virtual EImplicitObjectType Chaos::TImplicitObjectInstanced< TConcrete >::GetNestedType ( ) const
inlineoverridevirtual

Reimplemented from Chaos::FImplicitObject.

◆ GetPlane()

template<typename TConcrete >
const TPlaneConcrete< FReal, 3 > Chaos::TImplicitObjectInstanced< TConcrete >::GetPlane ( int32  FaceIndex) const
inline

◆ GetPlaneNX()

template<typename TConcrete >
void Chaos::TImplicitObjectInstanced< TConcrete >::GetPlaneNX ( const int32  FaceIndex,
FVec3 OutN,
FVec3 OutX 
) const
inline

◆ GetPlaneVertex()

template<typename TConcrete >
int32 Chaos::TImplicitObjectInstanced< TConcrete >::GetPlaneVertex ( int32  PlaneIndex,
int32  PlaneVertexIndex 
) const
inline

◆ GetRadius()

template<typename TConcrete >
virtual FReal Chaos::TImplicitObjectInstanced< TConcrete >::GetRadius ( ) const
inlineoverridevirtual

Reimplemented from Chaos::FImplicitObject.

◆ GetRadiusf()

template<typename TConcrete >
virtual FRealSingle Chaos::TImplicitObjectInstanced< TConcrete >::GetRadiusf ( ) const
inlineoverridevirtual

Reimplemented from Chaos::FImplicitObject.

◆ GetRotationOfMass()

template<typename TConcrete >
FRotation3 Chaos::TImplicitObjectInstanced< TConcrete >::GetRotationOfMass ( ) const
inline

◆ GetTypeHash()

template<typename TConcrete >
virtual uint32 Chaos::TImplicitObjectInstanced< TConcrete >::GetTypeHash ( ) const
inlineoverridevirtual

◆ GetTypeName() [1/2]

template<typename TConcrete >
virtual FName Chaos::FImplicitObject::GetTypeName ( ) const
inlinevirtual

Reimplemented from Chaos::FImplicitObject.

◆ GetTypeName() [2/2]

template<typename TConcrete >
const FName Chaos::FImplicitObject::GetTypeName ( const EImplicitObjectType  InType)
static

◆ GetVertex()

template<typename TConcrete >
const FVec3 Chaos::TImplicitObjectInstanced< TConcrete >::GetVertex ( int32  VertexIndex) const
inline

◆ GetVertexPlanes3()

template<typename TConcrete >
int32 Chaos::TImplicitObjectInstanced< TConcrete >::GetVertexPlanes3 ( int32  VertexIndex,
int32 PlaneIndex0,
int32 PlaneIndex1,
int32 PlaneIndex2 
) const
inline

◆ GJKContactPoint()

template<typename TConcrete >
template<typename QueryGeomType >
bool Chaos::TImplicitObjectInstanced< TConcrete >::GJKContactPoint ( const QueryGeomType A,
const FRigidTransform3 AToBTM,
const FReal  Thickness,
FVec3 Location,
FVec3 Normal,
FReal Penetration,
int32 FaceIndex 
) const
inline

◆ LowLevelOverlapGeom()

template<typename TConcrete >
template<typename QueryGeomType >
bool Chaos::TImplicitObjectInstanced< TConcrete >::LowLevelOverlapGeom ( const QueryGeomType B,
const TRigidTransform< T, d > &  BToATM,
T  Thickness = 0,
FMTDInfo OutMTD = nullptr 
) const
inline

This is a low level function and assumes the internal object has a OverlapGeom function. Should not be called directly. See GeometryQueries.h : OverlapQuery

◆ LowLevelSweepGeom()

template<typename TConcrete >
template<typename QueryGeomType >
bool Chaos::TImplicitObjectInstanced< TConcrete >::LowLevelSweepGeom ( const QueryGeomType B,
const TRigidTransform< T, d > &  BToATM,
const TVector< T, d > &  LocalDir,
const T  Length,
T OutTime,
TVector< T, d > &  LocalPosition,
TVector< T, d > &  LocalNormal,
int32 OutFaceIndex,
TVector< T, d > &  OutFaceNormal,
T  Thickness = 0,
bool  bComputeMTD = false 
) const
inline

This is a low level function and assumes the internal object has a SweepGeom function. Should not be called directly. See GeometryQueries.h : SweepQuery

◆ NumEdges()

template<typename TConcrete >
int32 Chaos::TImplicitObjectInstanced< TConcrete >::NumEdges ( ) const
inline

◆ NumPlanes()

template<typename TConcrete >
int32 Chaos::TImplicitObjectInstanced< TConcrete >::NumPlanes ( ) const
inline

◆ NumPlaneVertices()

template<typename TConcrete >
int32 Chaos::TImplicitObjectInstanced< TConcrete >::NumPlaneVertices ( int32  PlaneIndex) const
inline

◆ NumVertices()

template<typename TConcrete >
int32 Chaos::TImplicitObjectInstanced< TConcrete >::NumVertices ( ) const
inline

◆ Object()

template<typename TConcrete >
const ObjectType Chaos::TImplicitObjectInstanced< TConcrete >::Object ( ) const
inline

◆ Overlap()

template<typename TConcrete >
virtual bool Chaos::TImplicitObjectInstanced< TConcrete >::Overlap ( const FVec3 Point,
const FReal  Thickness 
) const
inlineoverridevirtual

Reimplemented from Chaos::FImplicitObject.

◆ PhiWithNormal()

template<typename TConcrete >
virtual FReal Chaos::TImplicitObjectInstanced< TConcrete >::PhiWithNormal ( const FVec3 X,
FVec3 Normal 
) const
inlineoverridevirtual

◆ Raycast()

template<typename TConcrete >
virtual bool Chaos::TImplicitObjectInstanced< TConcrete >::Raycast ( const FVec3 StartPoint,
const FVec3 Dir,
const FReal  Length,
const FReal  Thickness,
FReal OutTime,
FVec3 OutPosition,
FVec3 OutNormal,
int32 OutFaceIndex 
) const
inlineoverridevirtual

Reimplemented from Chaos::FImplicitObject.

◆ Serialize()

template<typename TConcrete >
virtual void Chaos::TImplicitObjectInstanced< TConcrete >::Serialize ( FChaosArchive Ar)
inlineoverridevirtual

Reimplemented from Chaos::FImplicitObject.

◆ StaticType()

◆ Support()

template<typename TConcrete >
FORCEINLINE_DEBUGGABLE FVec3 Chaos::TImplicitObjectInstanced< TConcrete >::Support ( const FVec3 Direction,
const FReal  Thickness,
int32 VertexIndex 
) const
inline

◆ SupportCore()

template<typename TConcrete >
FORCEINLINE_DEBUGGABLE FVec3 Chaos::TImplicitObjectInstanced< TConcrete >::SupportCore ( const FVec3 Direction,
const FReal  InMargin,
FReal OutSupportDelta,
int32 VertexIndex 
) const
inline

◆ SupportCoreSimd()

template<typename TConcrete >
FORCEINLINE_DEBUGGABLE VectorRegister4Float Chaos::TImplicitObjectInstanced< TConcrete >::SupportCoreSimd ( const VectorRegister4Float Direction,
const FReal  InMargin 
) const
inline

◆ SupportScaled()

template<typename TConcrete >
FORCEINLINE_DEBUGGABLE FVec3 Chaos::TImplicitObjectInstanced< TConcrete >::SupportScaled ( const FVec3 Direction,
const T  Thickness,
const FVec3 Scale,
int32 VertexIndex 
) const
inline

◆ ToString()

template<typename TConcrete >
virtual FString Chaos::TImplicitObjectInstanced< TConcrete >::ToString ( ) const
inlineoverridevirtual

Reimplemented from Chaos::FImplicitObject.

Member Data Documentation

◆ d

template<typename TConcrete >
constexpr int Chaos::TImplicitObjectInstanced< TConcrete >::d = TConcrete::D
staticconstexpr

◆ D

template<typename TConcrete >
constexpr int Chaos::TImplicitObjectInstanced< TConcrete >::D = d
staticconstexpr

◆ MObject


The documentation for this class was generated from the following file: