CommonLibSSE NG
Loading...
Searching...
No Matches
RE::hkpConstraintData Class Referenceabstract

#include <hkpConstraintData.h>

Inheritance diagram for RE::hkpConstraintData:
RE::hkReferencedObject RE::hkBaseObject RE::hkpLimitedHingeConstraintData RE::hkpRagdollConstraintData

Classes

struct  RuntimeInfo
 

Public Types

enum  ConstraintType {
  kBallAndSocket = 0 , kHinge = 1 , kLimitedHinge = 2 , kPointToPath = 3 ,
  kPrismatic = 6 , kRagdoll = 7 , kStiffSpring = 8 , kWheel = 9 ,
  kGeneric = 10 , kContact = 11 , kBreakable = 12 , kMalleable = 13 ,
  kPointToPlane = 14 , kPulley = 15 , kRotational = 16 , kHingeLimits = 18 ,
  kRagdollLimits = 19 , kCustom = 20 , kRackAndPinion = 21 , kCogWheel = 22 ,
  kChainTypes = 100 , kStiffSpringChain = 100 , kBallSocketChain = 101 , kPoweredChain = 102
}
 
enum  SolvingMethod { kStabilized = 0 , kOld = 1 }
 
- Public Types inherited from RE::hkReferencedObject
enum class  LockMode { kNone = 0 , kAuto , kManual }
 
enum  { kMemSize = 0x7FFF }
 

Public Member Functions

 ~hkpConstraintData () override
 
virtual void SetMaxLinearImpulse (float a_maxImpulse)
 
virtual float GetMaxLinearImpulse () const
 
virtual void SetSolvingMethod (SolvingMethod a_method)
 
virtual hkResult GetInertiaStabilizationFactor (float &a_inertiaStabilizationFactorOut) const
 
virtual hkResult SetInertiaStabilizationFactor (const float a_inertiaStabilizationFactorIn)
 
virtual void SetBodyToNotify (int32_t a_bodyIdx)
 
virtual uint8_t GetNotifiedBodyIndex () const
 
virtual bool IsValid () const =0
 
virtual int32_t GetType () const =0
 
virtual void GetRuntimeInfo (bool bWantRuntime, RuntimeInfo &a_infoOut) const =0
 
virtual hkpSolverResults GetSolverResults (hkpConstraintRuntime *a_runtime)
 
virtual void AddInstance (hkpConstraintInstance *a_constraint, hkpConstraintRuntime *a_runtime, int32_t a_sizeOfRuntime) const
 
virtual void RemoveInstance (hkpConstraintInstance *a_constraint, hkpConstraintRuntime *a_runtime, int32_t a_sizeOfRuntime) 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
 

Public Attributes

uint64_t userData
 
- Public Attributes inherited from RE::hkReferencedObject
std::uint16_t memSizeAndFlags
 
volatile std::int16_t referenceCount
 
std::uint32_t pad0C
 

Static Public Attributes

static constexpr auto RTTI = RTTI_hkpConstraintData
 
static constexpr auto VTABLE = VTABLE_hkpConstraintData
 
- 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
 

Member Enumeration Documentation

◆ ConstraintType

Enumerator
kBallAndSocket 
kHinge 
kLimitedHinge 
kPointToPath 
kPrismatic 
kRagdoll 
kStiffSpring 
kWheel 
kGeneric 
kContact 
kBreakable 
kMalleable 
kPointToPlane 
kPulley 
kRotational 
kHingeLimits 
kRagdollLimits 
kCustom 
kRackAndPinion 
kCogWheel 
kChainTypes 
kStiffSpringChain 
kBallSocketChain 
kPoweredChain 

◆ SolvingMethod

Enumerator
kStabilized 
kOld 

Constructor & Destructor Documentation

◆ ~hkpConstraintData()

RE::hkpConstraintData::~hkpConstraintData ( )
override

Member Function Documentation

◆ AddInstance()

virtual void RE::hkpConstraintData::AddInstance ( hkpConstraintInstance a_constraint,
hkpConstraintRuntime *  a_runtime,
int32_t  a_sizeOfRuntime 
) const
virtual

◆ GetInertiaStabilizationFactor()

virtual hkResult RE::hkpConstraintData::GetInertiaStabilizationFactor ( float &  a_inertiaStabilizationFactorOut) const
virtual

◆ GetMaxLinearImpulse()

virtual float RE::hkpConstraintData::GetMaxLinearImpulse ( ) const
virtual

◆ GetNotifiedBodyIndex()

virtual uint8_t RE::hkpConstraintData::GetNotifiedBodyIndex ( ) const
virtual

◆ GetRuntimeInfo()

virtual void RE::hkpConstraintData::GetRuntimeInfo ( bool  bWantRuntime,
RuntimeInfo a_infoOut 
) const
pure virtual

◆ GetSolverResults()

virtual hkpSolverResults RE::hkpConstraintData::GetSolverResults ( hkpConstraintRuntime *  a_runtime)
virtual

◆ GetType()

virtual int32_t RE::hkpConstraintData::GetType ( ) const
pure virtual

◆ IsValid()

virtual bool RE::hkpConstraintData::IsValid ( ) const
pure virtual

◆ RemoveInstance()

virtual void RE::hkpConstraintData::RemoveInstance ( hkpConstraintInstance a_constraint,
hkpConstraintRuntime *  a_runtime,
int32_t  a_sizeOfRuntime 
) const
virtual

◆ SetBodyToNotify()

virtual void RE::hkpConstraintData::SetBodyToNotify ( int32_t  a_bodyIdx)
virtual

◆ SetInertiaStabilizationFactor()

virtual hkResult RE::hkpConstraintData::SetInertiaStabilizationFactor ( const float  a_inertiaStabilizationFactorIn)
virtual

◆ SetMaxLinearImpulse()

virtual void RE::hkpConstraintData::SetMaxLinearImpulse ( float  a_maxImpulse)
virtual

◆ SetSolvingMethod()

virtual void RE::hkpConstraintData::SetSolvingMethod ( SolvingMethod  a_method)
virtual

Member Data Documentation

◆ RTTI

constexpr auto RE::hkpConstraintData::RTTI = RTTI_hkpConstraintData
inlinestaticconstexpr

◆ userData

uint64_t RE::hkpConstraintData::userData

◆ VTABLE

constexpr auto RE::hkpConstraintData::VTABLE = VTABLE_hkpConstraintData
inlinestaticconstexpr

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