CommonLibSSE NG
Loading...
Searching...
No Matches
RE::hkpSphereShape Class Reference

#include <hkpSphereShape.h>

Inheritance diagram for RE::hkpSphereShape:
RE::hkpConvexShape RE::hkpSphereRepShape RE::hkpShape RE::hkReferencedObject RE::hkBaseObject

Public Member Functions

 ~hkpSphereShape () override
 
void CalcContentStatistics (hkStatisticsCollector *a_collector, const hkClass *a_class) const override
 
std::int32_t CalcSizeForSpu (const CalcSizeForSpuInput &a_input, std::int32_t a_spuBufferSizeLeft) const override
 
void GetAabbImpl (const hkTransform &a_localToWorld, float a_tolerance, hkAabb &a_out) const override
 
bool CastRayImpl (const hkpShapeRayCastInput &a_input, hkpShapeRayCastOutput &a_output) const override
 
std::int32_t GetNumCollisionSpheresImpl () override
 
const hkpSphere * GetCollisionSpheresImpl (hkSphere *a_sphereBuffer) override
 
void GetCentreImpl (hkVector4 &a_centreOut) override
 
void Unk_0E (void) override
 
void Unk_0F (void) override
 
void Unk_11 (void) override
 
- Public Member Functions inherited from RE::hkpConvexShape
 ~hkpConvexShape () override
 
float GetMaximumProjection (const hkVector4 &a_direction) const override
 
bool IsConvex () const override
 
void CastRayWithCollectorImpl (const hkpShapeRayCastInput &a_input, const hkpCdBody &a_cdBody, hkpRayHitCollector &a_collector) const override
 
virtual void GetCentreImpl (hkVector4 &a_centreOut)=0
 
virtual void Unk_0E (void)=0
 
virtual void Unk_0F (void)=0
 
virtual std::uint32_t Unk_10 (void)
 
virtual void Unk_11 (void)
 
- Public Member Functions inherited from RE::hkpSphereRepShape
virtual ~hkpSphereRepShape ()
 
virtual std::int32_t GetNumCollisionSpheresImpl ()=0
 
virtual const hkpSphere * GetCollisionSpheresImpl (hkSphere *a_sphereBuffer)=0
 
- Public Member Functions inherited from RE::hkpShape
 ~hkpShape () override
 
virtual float GetMaximumProjection (const hkVector4 &a_direction) const
 
virtual const hkpShapeContainerGetContainer () const
 
virtual bool IsConvex () const
 
virtual std::int32_t CalcSizeForSpu (const CalcSizeForSpuInput &a_input, std::int32_t a_spuBufferSizeLeft) const
 
virtual void GetAabbImpl (const hkTransform &a_localToWorld, float a_tolerance, hkAabb &a_out) const =0
 
virtual bool CastRayImpl (const hkpShapeRayCastInput &a_input, hkpShapeRayCastOutput &a_output) const =0
 
virtual void CastRayWithCollectorImpl (const hkpShapeRayCastInput &a_input, const hkpCdBody &a_cdBody, hkpRayHitCollector &a_collector) const =0
 
virtual hkVector4Comparison CastRayBundleImpl (const hkpShapeRayBundleCastInput &a_input, hkpShapeRayBundleCastOutput &a_output, const hkVector4Comparison &a_mask) const
 
- Public Member Functions inherited from RE::hkReferencedObject
 hkReferencedObject ()
 
 ~hkReferencedObject () override=default
 
virtual const hkClass * GetClassType () const
 
virtual void CalcContentStatistics (hkStatisticsCollector *a_collector, const hkClass *a_class) const
 
void AddReference () const
 
std::int32_t GetAllocatedSize () const
 
std::int32_t GetReferenceCount () const
 
void RemoveReference () const
 
- Public Member Functions inherited from RE::hkBaseObject
virtual ~hkBaseObject ()=default
 

Static Public Attributes

static constexpr auto RTTI = RTTI_hkpSphereShape
 
static constexpr auto VTABLE = VTABLE_hkpSphereShape
 
- Static Public Attributes inherited from RE::hkpConvexShape
static constexpr auto RTTI = RTTI_hkpConvexShape
 
static constexpr auto VTABLE = VTABLE_hkpConvexShape
 
- Static Public Attributes inherited from RE::hkpSphereRepShape
static constexpr auto RTTI = RTTI_hkpSphereRepShape
 
static constexpr auto VTABLE = VTABLE_hkpSphereRepShape
 
- Static Public Attributes inherited from RE::hkpShape
static constexpr auto RTTI = RTTI_hkpShape
 
static constexpr auto VTABLE = VTABLE_hkpShape
 
- Static Public Attributes inherited from RE::hkReferencedObject
static constexpr auto RTTI = RTTI_hkReferencedObject
 
static constexpr auto VTABLE = VTABLE_hkReferencedObject
 
- Static Public Attributes inherited from RE::hkBaseObject
static constexpr auto RTTI = RTTI_hkBaseObject
 
static constexpr auto VTABLE = VTABLE_hkBaseObject
 

Additional Inherited Members

- Public Types inherited from RE::hkpShape
using GetSupportingVertexFunc = void(const void *a_this, const hkVector4 &a_direction, hkpCdVertex &a_supportVertex)
 
using ConvertVertexIdsToVerticesFunc = void(const void *a_this, const hkpVertexID *a_ids, std::int32_t a_numIDs, class hkpCdVertex *a_verticesOut)
 
using WeldContactPointFunc = std::int32_t(const void *a_this, hkpVertexID *a_featurePoints, std::uint8_t &a_numFeaturePoints, hkVector4 &a_contactPointWs, const hkTransform *a_thisTransform, const hkpConvexShape *a_collidingShape, const hkTransform *a_collidingTransform, hkVector4 &a_separatingNormalInOut)
 
using GetCentreFunc = void(const void *a_this, hkVector4 &a_centreOut)
 
using GetNumCollisionSpheresFunc = std::int32_t(const void *a_this)
 
using GetCollisionSpheresFunc = const hkSphere *(const void *a_this, hkSphere *a_sphereBuffer)
 
using GetAabbFunc = void(const void *a_this, const hkTransform &a_localToWorld, float a_tolerance, hkAabb &a_out)
 
using CastRayFunc = bool(const void *a_this, const hkpShapeRayCastInput &a_input, hkpShapeRayCastOutput &a_output)
 
using CastRayWithCollectorFunc = void(const void *a_this, const hkpShapeRayCastInput &a_input, const hkpCdBody &a_cdBody, hkpRayHitCollector &a_collector)
 
using CastRayBundleFunc = hkVector4Comparison(const void *a_this, const hkpShapeRayBundleCastInput &a_input, hkpShapeRayBundleCastOutput &a_output, const hkVector4Comparison &a_mask)
 
using GetChildShapeFunc = const hkpShape *(const void *a_this, hkpShapeKey a_key, hkpShapeBuffer &a_buffer)
 
using GetCollisionFilterInfoFunc = std::uint32_t(const void *a_this, hkpShapeKey a_key)
 
using RegsiterFunc = void(ShapeFuncs &a_sf)
 
- Public Types inherited from RE::hkReferencedObject
enum class  LockMode { kNone = 0 , kAuto , kManual }
 
enum  { kMemSize = 0x7FFF }
 
- Public Attributes inherited from RE::hkpConvexShape
float radius
 
std::uint32_t pad1C
 
- Public Attributes inherited from RE::hkpShape
bhkShapeuserData
 
hkpShapeType type
 
std::uint32_t pad1C
 
- Public Attributes inherited from RE::hkReferencedObject
std::uint16_t memSizeAndFlags
 
volatile std::int16_t referenceCount
 
std::uint32_t pad0C
 

Constructor & Destructor Documentation

◆ ~hkpSphereShape()

RE::hkpSphereShape::~hkpSphereShape ( )
override

Member Function Documentation

◆ CalcContentStatistics()

void RE::hkpSphereShape::CalcContentStatistics ( hkStatisticsCollector *  a_collector,
const hkClass *  a_class 
) const
overridevirtual

Reimplemented from RE::hkReferencedObject.

◆ CalcSizeForSpu()

std::int32_t RE::hkpSphereShape::CalcSizeForSpu ( const CalcSizeForSpuInput a_input,
std::int32_t  a_spuBufferSizeLeft 
) const
overridevirtual

Reimplemented from RE::hkpShape.

◆ CastRayImpl()

bool RE::hkpSphereShape::CastRayImpl ( const hkpShapeRayCastInput &  a_input,
hkpShapeRayCastOutput a_output 
) const
overridevirtual

Implements RE::hkpShape.

◆ GetAabbImpl()

void RE::hkpSphereShape::GetAabbImpl ( const hkTransform a_localToWorld,
float  a_tolerance,
hkAabb a_out 
) const
overridevirtual

Implements RE::hkpShape.

◆ GetCentreImpl()

void RE::hkpSphereShape::GetCentreImpl ( hkVector4 a_centreOut)
overridevirtual

Implements RE::hkpConvexShape.

◆ GetCollisionSpheresImpl()

const hkpSphere * RE::hkpSphereShape::GetCollisionSpheresImpl ( hkSphere *  a_sphereBuffer)
overridevirtual

Implements RE::hkpSphereRepShape.

◆ GetNumCollisionSpheresImpl()

std::int32_t RE::hkpSphereShape::GetNumCollisionSpheresImpl ( )
overridevirtual

Implements RE::hkpSphereRepShape.

◆ Unk_0E()

void RE::hkpSphereShape::Unk_0E ( void  )
overridevirtual

Implements RE::hkpConvexShape.

◆ Unk_0F()

void RE::hkpSphereShape::Unk_0F ( void  )
overridevirtual

Implements RE::hkpConvexShape.

◆ Unk_11()

void RE::hkpSphereShape::Unk_11 ( void  )
overridevirtual

Reimplemented from RE::hkpConvexShape.

Member Data Documentation

◆ RTTI

constexpr auto RE::hkpSphereShape::RTTI = RTTI_hkpSphereShape
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::hkpSphereShape::VTABLE = VTABLE_hkpSphereShape
inlinestaticconstexpr

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