Navigation
API > API/Runtime > API/Runtime/Chaos
| Name | TSphere |
| Type | class |
| Header File | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/CollisionResolution.h |
| Include Path | #include "Chaos/CollisionResolution.h" |
| Source | /Engine/Source/Runtime/Experimental/Chaos/Public/Chaos/Sphere.h |
Syntax
template<class T, int d>
class TSphere : public Chaos::FImplicitObject
Inheritance Hierarchy
- FChaosRefCountedObject → FImplicitObject → TSphere
- TSphere
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Chaos/Sphere.h | |||
TSphere () |
Chaos/Sphere.h | ||
| Chaos/Sphere.h | |||
| Chaos/Sphere.h |
Destructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual ~TSphere() |
Chaos/Sphere.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Center | FVec3f | Chaos/Sphere.h | ||
| FImplicitObject | friend | TImplicitObject requires ability to default construct when deserializing shapes. | Chaos/Sphere.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TArray< TVector< T, d > > ComputeLocalSamplePoints
(
const T PointsPerUnitArea, |
Chaos/Sphere.h | ||
TArray< TVector< T, d > > ComputeLocalSamplePoints
(
const int NumPoints |
Returns sample points centered about the origin. | Chaos/Sphere.h | |
TArray< TVector< T, d > > ComputeSamplePoints
(
const T PointsPerUnitArea, |
Chaos/Sphere.h | ||
TArray< TVector< T, d > > ComputeSamplePoints
(
const int NumPoints |
Returns sample points at the current location of the sphere. | Chaos/Sphere.h | |
| Chaos/Sphere.h | |||
| Chaos/Sphere.h | |||
T GetArea () |
Chaos/Sphere.h | ||
const TVector< T, d > GetCenter() |
Chaos/Sphere.h | ||
const FVec3f & GetCenterf() |
Chaos/Sphere.h | ||
const TVector< T, d > GetCenterOfMass() |
Chaos/Sphere.h | ||
const FVec3f & GetCenterOfMassf() |
Chaos/Sphere.h | ||
PMatrix< T, d, d > GetInertiaTensor
(
const T InMass, |
Chaos/Sphere.h | ||
TRotation< T, d > GetRotationOfMass() |
Chaos/Sphere.h | ||
T GetVolume () |
Chaos/Sphere.h | ||
bool Intersects
(
const TSphere< T, d >& Other |
Chaos/Sphere.h | ||
| Chaos/Sphere.h | |||
| Chaos/Sphere.h | |||
void SerializeImp
(
FArchive& Ar |
Chaos/Sphere.h | ||
| Chaos/Sphere.h | |||
| Chaos/Sphere.h | |||
| Chaos/Sphere.h | |||
VectorRegister4Float SupportCoreSimd
(
const VectorRegister4Float& Direction, |
Chaos/Sphere.h |
Overridden from FImplicitObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual const TAABB< T, d > BoundingBox() |
Chaos/Sphere.h | ||
virtual FAABB3 CalculateTransformedBounds
(
const FRigidTransform3& Transform |
Calculate the tight-fitting world-space bounding box. | Chaos/Sphere.h | |
virtual Chaos::FImplicitObjectPtr CopyGeometry() |
Chaos/Sphere.h | ||
virtual Chaos::FImplicitObjectPtr CopyGeometryWithScale
(
const FVec3& Scale |
Chaos/Sphere.h | ||
virtual FReal GetRadius() |
Chaos/Sphere.h | ||
virtual FRealSingle GetRadiusf() |
Chaos/Sphere.h | ||
virtual uint32 GetTypeHash() |
Chaos/Sphere.h | ||
virtual FName GetTypeName () |
Chaos/Sphere.h | ||
virtual void Serialize
(
FChaosArchive& Ar |
Chaos/Sphere.h | ||
| Chaos/Sphere.h | |||
virtual FString ToString() |
Chaos/Sphere.h |
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static T GetArea
(
const T InRadius |
Chaos/Sphere.h | ||
static PMatrix< T, d, d > GetInertiaTensor
(
const T InMass, |
Chaos/Sphere.h | ||
static const FName GetTypeName
(
const EImplicitObjectType InType |
Chaos/Sphere.h | ||
static T GetVolume
(
const T InRadius |
Chaos/Sphere.h | ||
static EImplicitObjectType StaticType() |
Chaos/Sphere.h |
Operators
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| Chaos/Sphere.h |