Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
Inheritance Hierarchy
- FImplicitObject
- FTriangleMeshImplicitObject
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/TriangleMeshImplicitObject.h |
Include | #include "Chaos/TriangleMeshImplicitObject.h" |
Syntax
class FTriangleMeshImplicitObject : public Chaos::FImplicitObject
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
FTriangleMeshImplicitObject
(
const FTriangleMeshImplicitObject& Other |
||
![]() |
|||
![]() |
FTriangleMeshImplicitObject
(
ParticlesType&& Particles, |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TUniquePtr< FTriangleMeshImplicitObject > | CopySlow () |
|
![]() ![]() |
const FTrimeshIndexBuffer & | Elements () |
|
![]() ![]() |
void | FindOverlappingTriangles
(
const FAABB3& QueryBounds, |
Get a list of triangle indices that overlap the query bounds. |
![]() ![]() |
bool | Does Trimesh cull backfaces in raycast. | |
![]() ![]() |
int32 | GetExternalFaceIndexFromInternal
(
int32 InternalFaceIndex |
Returns -1 if InternalFaceIndex is not in map, or map is invalid. |
![]() ![]() |
FVec3 | GetFaceNormal
(
const int32 FaceIdx |
|
![]() ![]() |
FReal | GetRadius () |
|
![]() ![]() |
void | GetTransformedTriangle
(
const int32 TriangleIndex, |
Generate the triangle at the specified index with the specified transform (including scale) |
![]() ![]() |
bool | GJKContactPoint
(
const TImplicitObjectScaled< TSphere< FReal, 3 > >& QueryGeom, |
|
![]() ![]() |
bool | GJKContactPoint
(
const FConvex& QueryGeom, |
|
![]() ![]() |
bool | GJKContactPoint
(
const FCapsule& QueryGeom, |
|
![]() ![]() |
bool | GJKContactPoint
(
const TSphere< FReal, 3 >& QueryGeom, |
|
![]() ![]() |
bool | GJKContactPoint
(
const TImplicitObjectScaled< FConvex >& QueryGeom, |
|
![]() ![]() |
bool | GJKContactPoint
(
const TImplicitObjectScaled< TBox< FReal, 3 > >& QueryGeom, |
|
![]() ![]() |
bool | GJKContactPoint
(
const TImplicitObjectScaled< FCapsule >& QueryGeom, |
|
![]() ![]() |
bool | GJKContactPoint
(
const TBox< FReal, 3 >& QueryGeom, |
|
![]() ![]() |
bool | OverlapGeom
(
const TImplicitObjectScaled< FCapsule >& QueryGeom, |
|
![]() ![]() |
bool | OverlapGeom
(
const TImplicitObjectScaled< FConvex >& QueryGeom, |
|
![]() ![]() |
bool | OverlapGeom
(
const TImplicitObjectScaled< TBox< FReal, 3 >>& QueryGeom, |
|
![]() ![]() |
bool | OverlapGeom
(
const TImplicitObjectScaled< TSphere< FReal, 3 >>& QueryGeom, |
|
![]() ![]() |
bool | OverlapGeom
(
const FCapsule& QueryGeom, |
|
![]() ![]() |
bool | OverlapGeom
(
const TBox< FReal, 3 >& QueryGeom, |
|
![]() ![]() |
bool | OverlapGeom
(
const TSphere< FReal, 3 >& QueryGeom, |
|
![]() ![]() |
bool | OverlapGeom
(
const FConvex& QueryGeom, |
|
![]() ![]() |
const ParticlesType & | Particles () |
|
![]() ![]() |
bool | ||
![]() |
void | SerializeImp
(
FChaosArchive& Ar |
|
![]() |
void | SetCullsBackFaceRaycast
(
const bool bInCullsBackFace |
|
![]() ![]() |
constexpr EImplicitObjectType | StaticType () |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | SweepGeom
(
const TImplicitObjectScaled< TBox< FReal, 3 >>& QueryGeom, |
|
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | ||
![]() ![]() |
bool | SweepGeom
(
const TImplicitObjectScaled< TSphere< FReal, 3 >>& QueryGeom, |
|
![]() ![]() |
bool | SweepGeomCCD
(
const TImplicitObjectScaled< TBox< FReal, 3 >>& QueryGeom, |
|
![]() ![]() |
bool | SweepGeomCCD
(
const TImplicitObjectScaled< TSphere< FReal, 3 >>& QueryGeom, |
|
![]() ![]() |
bool | SweepGeomCCD
(
const FConvex& QueryGeom, |
|
![]() ![]() |
bool | SweepGeomCCD
(
const FCapsule& QueryGeom, |
|
![]() ![]() |
bool | SweepGeomCCD
(
const TImplicitObjectScaled< FConvex >& QueryGeom, |
|
![]() ![]() |
bool | SweepGeomCCD
(
const TSphere< FReal, 3 >& QueryGeom, |
Sweep used for CCD. Ignores triangles we penetrate by less than IgnorePenetration, and calculate the TOI for a depth of TargetPenetration. If both are zero, this is equivalent to SweepGeom. |
![]() ![]() |
bool | SweepGeomCCD
(
const TImplicitObjectScaled< FCapsule >& QueryGeom, |
|
![]() ![]() |
bool | SweepGeomCCD
(
const TBox< FReal, 3 >& QueryGeom, |
|
![]() |
void | UpdateVertices
(
const TArray< FVector >& Positions |
|
![]() ![]() |
void | VisitTriangles
(
const FAABB3& QueryBounds, |
Overridden from FImplicitObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
const FAABB3 | BoundingBox () |
|
![]() ![]() ![]() |
FVec3 | FindGeometryOpposingNormal
(
const FVec3& DenormDir, |
Given a normal and a face index, compute the most opposing normal associated with the underlying geometry features. |
![]() ![]() ![]() |
int32 | FindMostOpposingFace
(
const FVec3& Position, |
Returns the most opposing face. |
![]() ![]() ![]() |
int32 | FindMostOpposingFaceScaled
(
const FVec3& Position, |
|
![]() ![]() ![]() |
uint16 | GetMaterialIndex
(
uint32 HintIndex |
|
![]() ![]() ![]() |
uint32 | GetTypeHash () |
|
![]() ![]() ![]() |
bool | This gives derived types a way to do an overlap check without calling PhiWithNormal todo: this api is confusing. | |
![]() ![]() ![]() |
FReal | PhiWithNormal
(
const FVec3& x, |
Find the closest point on the surface, and return the separating distance and axis. |
![]() ![]() ![]() |
bool | This gives derived types a way to avoid calling PhiWithNormal todo: this api is confusing. | |
![]() ![]() |
void | Serialize
(
FChaosArchive& Ar |
|
![]() ![]() ![]() |
FString | ToString () |
Typedefs
Name | Description |
---|---|
BVHType | |
ParticlesType | |
ParticleVecType |