CommonLibSSE (powerof3)
|
#include <hkpListShape.h>
Classes | |
struct | ChildInfo |
Public Types | |
enum | { kMaxChildrenForSPUMidPhase = 252 , kMaxDisabledChildren = 256 } |
enum class | ListShapeFlags { kNone = 0 , kDisableSPUCacheForListChildInfo = 1 << 0 } |
![]() | |
enum class | CollectionType { kList , kExtendedMesh , kTrisampledHeightfield , kUser , kSimpleMesh , kMeshShape , kCompressedMesh , kTotal } |
![]() | |
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) |
![]() | |
enum class | LockMode { kNone = 0 , kAuto , kManual } |
enum | { kMemSize = 0x7FFF } |
![]() | |
enum class | ReferencePolicy { kIgnore , kIncrement } |
Public Member Functions | |
~hkpListShape () 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 |
void | CastRayWithCollectorImpl (const hkpShapeRayCastInput &a_input, const hkpCdBody &a_cdBody, hkpRayHitCollector &a_collector) const override |
std::int32_t | GetNumChildShapes () const override |
hkpShapeKey | GetFirstKey () const override |
hkpShapeKey | GetNextKey (hkpShapeKey a_oldKey) const override |
std::uint32_t | GetCollisionFilterInfo (hkpShapeKey a_key) const override |
const hkpShape * | GetChildShape (hkpShapeKey a_key, hkpShapeBuffer &a_buffer) const override |
![]() | |
~hkpShapeCollection () override | |
void | CalcContentStatistics (hkStatisticsCollector *a_collector, const hkClass *a_class) const override |
float | GetMaximumProjection (const hkVector4 &a_direction) const override |
const hkpShapeContainer * | GetContainer () 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 |
void | CastRayWithCollectorImpl (const hkpShapeRayCastInput &a_input, const hkpCdBody &a_cdBody, hkpRayHitCollector &a_collector) const override |
bool | IsWeldingEnabled () const override |
virtual void | InitWeldingInfo (hkpWeldingUtility::WeldingType a_weldingType) |
virtual void | SetWeldingInfo (hkpShapeKey a_key, std::int16_t a_weldingInfo) |
![]() | |
~hkpShape () override | |
virtual bool | IsConvex () const |
virtual hkVector4Comparison | CastRayBundleImpl (const hkpShapeRayBundleCastInput &a_input, hkpShapeRayBundleCastOutput &a_output, const hkVector4Comparison &a_mask) const |
![]() | |
hkReferencedObject () | |
~hkReferencedObject () override=default | |
virtual const hkClass * | GetClassType () const |
void | AddReference () const |
std::int32_t | GetAllocatedSize () const |
std::int32_t | GetReferenceCount () const |
void | RemoveReference () const |
![]() | |
virtual | ~hkBaseObject ()=default |
![]() | |
virtual | ~hkpShapeContainer () |
Public Attributes | |
hkArray< ChildInfo > | childInfo |
std::uint16_t | flags |
std::uint16_t | numDisabledChildren |
std::uint32_t | pad44 |
hkVector4 | aabbHalfExtents |
hkVector4 | aabbCenter |
std::uint32_t | enabledChildren [8] |
![]() | |
bool | disableWelding |
stl::enumeration< CollectionType, std::uint8_t > | collectionType |
std::uint16_t | pad2A |
std::uint32_t | pad2C |
![]() | |
std::uint64_t | userData |
hkpShapeType | type |
std::uint32_t | pad1C |
![]() | |
std::uint16_t | memSizeAndFlags |
volatile std::int16_t | referenceCount |
std::uint32_t | pad0C |
Static Public Attributes | |
static constexpr auto | RTTI = RTTI_hkpListShape |
![]() | |
static constexpr auto | RTTI = RTTI_hkpShapeCollection |
![]() | |
static constexpr auto | RTTI = RTTI_hkpShape |
![]() | |
static constexpr auto | RTTI = RTTI_hkReferencedObject |
![]() | |
static constexpr auto | RTTI = RTTI_hkBaseObject |
![]() | |
static constexpr auto | RTTI = RTTI_hkpShapeContainer |
|
strong |
|
override |
|
overridevirtual |
Reimplemented from RE::hkReferencedObject.
|
overridevirtual |
Reimplemented from RE::hkpShape.
|
overridevirtual |
Implements RE::hkpShape.
|
overridevirtual |
Implements RE::hkpShape.
|
overridevirtual |
Implements RE::hkpShape.
|
overridevirtual |
Implements RE::hkpShapeContainer.
|
overridevirtual |
Reimplemented from RE::hkpShapeContainer.
|
overridevirtual |
Implements RE::hkpShapeContainer.
|
overridevirtual |
Implements RE::hkpShapeContainer.
|
overridevirtual |
Reimplemented from RE::hkpShapeContainer.
hkVector4 RE::hkpListShape::aabbCenter |
hkVector4 RE::hkpListShape::aabbHalfExtents |
std::uint32_t RE::hkpListShape::enabledChildren[8] |
std::uint16_t RE::hkpListShape::flags |
std::uint16_t RE::hkpListShape::numDisabledChildren |
std::uint32_t RE::hkpListShape::pad44 |
|
inlinestaticconstexpr |