Navigation
Unreal Engine C++ API Reference > Runtime > Chaos > Chaos
Inheritance Hierarchy
- FImplicitObject
- TSphere
References
Module | Chaos |
Header | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/CollisionResolution.h |
Include | #include "Chaos/CollisionResolution.h" |
Syntax
template<class T, int d>
class TSphere : public Chaos::FImplicitObject
Constructors
Type | Name | Description | |
---|---|---|---|
![]() |
|||
![]() |
|||
![]() |
Destructors
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
~TSphere () |
Functions
Type | Name | Description | |
---|---|---|---|
![]() ![]() |
TArray< TVector< T, d > > | ComputeLocalSamplePoints
(
const int NumPoints |
Returns sample points centered about the origin. |
![]() ![]() |
TArray< TVector< T, d > > | ComputeLocalSamplePoints
(
const T PointsPerUnitArea, |
|
![]() ![]() |
TArray< TVector< T, d > > | ComputeSamplePoints
(
const T PointsPerUnitArea, |
|
![]() ![]() |
TArray< TVector< T, d > > | ComputeSamplePoints
(
const int NumPoints |
Returns sample points at the current location of the sphere. |
![]() ![]() ![]() |
Pair< TVector< T, d >, bool > | FindClosestIntersectionImp
(
const TVector< T, d >& StartPoint, |
|
![]() ![]() |
TVector< T, d > | FindClosestPoint
(
const TVector< T, d >& StartPoint, |
|
![]() ![]() |
T | GetArea
(
const T InRadius |
|
![]() ![]() |
T | GetArea () |
|
![]() ![]() |
const TVector< T, d > & | GetCenter () |
|
![]() ![]() |
const TVector< T, d > & | ||
![]() ![]() |
PMatrix< T, d, d > | GetInertiaTensor
(
const T InMass, |
|
![]() ![]() |
PMatrix< T, d, d > | GetInertiaTensor
(
const T InMass, |
|
![]() ![]() |
FReal | GetRadius () |
|
![]() ![]() |
TRotation< T, d > | ||
![]() ![]() |
T | GetVolume
(
const T InRadius |
|
![]() ![]() |
T | GetVolume () |
|
![]() ![]() |
bool | Intersects
(
const TSphere< T, d >& Other |
|
![]() ![]() ![]() |
T | PhiWithNormal
(
const TVector< T, d >& InSamplePoint, |
|
![]() ![]() ![]() |
bool | ||
![]() |
void | SerializeImp
(
FArchive& Ar |
|
![]() ![]() |
constexpr EImplicitObjectType | StaticType () |
|
![]() ![]() |
TVector< T, d > | ||
![]() ![]() |
const TVector< T, d > & | SupportCore
(
const TVector< T, d >& Direction, |
|
![]() ![]() |
TVector< T, d > | SupportCoreScaled
(
const TVector< T, d >& Direction, |
|
![]() ![]() |
VectorRegister4Float | SupportCoreSimd
(
const VectorRegister4Float& Direction, |
Overridden from FImplicitObject
Type | Name | Description | |
---|---|---|---|
![]() ![]() ![]() |
const TAABB< T, d > | BoundingBox () |
|
![]() ![]() ![]() |
FAABB3 | CalculateTransformedBounds
(
const FRigidTransform3& Transform |
Calculate the tight-fitting world-space bounding box. |
![]() ![]() ![]() |
TUniquePtr< FImplicitObject > | Copy () |
|
![]() ![]() ![]() |
TUniquePtr< FImplicitObject > | CopyWithScale
(
const FVec3& Scale |
|
![]() ![]() ![]() |
FImplicitObject * | Duplicate () |
Not all implicit objects can be duplicated, up to user code to use this in cases that make sense. |
![]() ![]() ![]() |
uint32 | GetTypeHash () |
|
![]() ![]() |
void | ||
![]() ![]() |
void | Serialize
(
FChaosArchive& Ar |
|
![]() ![]() ![]() |
FString | ToString () |