CommonLibSSE (Parapets fork)
Loading...
Searching...
No Matches
RE::hkpKeyframedRigidMotion Class Reference

#include <hkpKeyframedRigidMotion.h>

Inheritance diagram for RE::hkpKeyframedRigidMotion:
RE::hkpMotion RE::hkReferencedObject RE::hkBaseObject RE::hkpFixedRigidMotion RE::hkpMaxSizeMotion

Public Member Functions

 ~hkpKeyframedRigidMotion () override
 
void SetMass (float a_mass) override
 
void SetMassInv (float a_massInv) override
 
void GetInertiaLocal (hkMatrix3 &a_inertiaOut) const override
 
void GetInertiaWorld (hkMatrix3 &a_inertiaOut) const override
 
void SetInertiaLocal (const hkMatrix3 &a_inertia) override
 
void SetInertiaInvLocal (const hkMatrix3 &a_inertiaInv) override
 
void GetInertiaInvLocal (hkMatrix3 &a_inertiaInvOut) const override
 
void GetInertiaInvWorld (hkMatrix3 &a_inertiaInvOut) const override
 
void GetProjectedPointVelocity (const hkVector4 &a_point, const hkVector4 &a_normal, float &a_velOut, float &a_invVirtMassOut) const override
 
void ApplyLinearImpulse (const hkVector4 &a_impulse) override
 
void ApplyPointImpulse (const hkVector4 &a_impulse, const hkVector4 &a_point) override
 
void ApplyAngularImpulse (const hkVector4 &a_impulse) override
 
void ApplyForce (const float a_deltaTime, const hkVector4 &a_force) override
 
void ApplyForce (const float a_deltaTime, const hkVector4 &a_force, const hkVector4 &a_point) override
 
void ApplyTorque (const float a_deltaTime, const hkVector4 &a_torque) override
 
virtual void SetStepPosition (float a_position, float a_timestep)
 
virtual void SetStoredMotion (hkpMaxSizeMotion *a_savedMotion)
 
- Public Member Functions inherited from RE::hkpMotion
 ~hkpMotion () override
 
virtual void SetMass (float a_mass)
 
virtual void SetMassInv (float a_massInv)
 
virtual void GetInertiaLocal (hkMatrix3 &a_inertiaOut) const =0
 
virtual void GetInertiaWorld (hkMatrix3 &a_inertiaOut) const =0
 
virtual void SetInertiaLocal (const hkMatrix3 &a_inertia)=0
 
virtual void SetInertiaInvLocal (const hkMatrix3 &a_inertiaInv)=0
 
virtual void GetInertiaInvLocal (hkMatrix3 &a_inertiaInvOut) const =0
 
virtual void GetInertiaInvWorld (hkMatrix3 &a_inertiaInvOut) const =0
 
virtual void SetCenterOfMassInLocal (const hkVector4 &a_centerOfMass)
 
virtual void SetPosition (const hkVector4 &a_position)
 
virtual void SetRotation (const hkQuaternion &a_rotation)
 
virtual void SetPositionAndRotation (const hkVector4 &a_position, const hkQuaternion &a_rotation)
 
virtual void SetTransform (const hkTransform &a_transform)
 
virtual void SetLinearVelocity (const hkVector4 &a_newVel)
 
virtual void SetAngularVelocity (const hkVector4 &a_newVel)
 
virtual void GetProjectedPointVelocity (const hkVector4 &a_point, const hkVector4 &a_normal, float &a_velOut, float &a_invVirtMassOut) const =0
 
virtual void ApplyLinearImpulse (const hkVector4 &a_impulse)
 
virtual void ApplyPointImpulse (const hkVector4 &a_impulse, const hkVector4 &a_point)=0
 
virtual void ApplyAngularImpulse (const hkVector4 &a_impulse)=0
 
virtual void ApplyForce (const float a_deltaTime, const hkVector4 &a_force)=0
 
virtual void ApplyForce (const float a_deltaTime, const hkVector4 &a_force, const hkVector4 &a_point)=0
 
virtual void ApplyTorque (const float a_deltaTime, const hkVector4 &a_torque)=0
 
virtual void GetMotionStateAndVelocitiesAndDeactivationType (hkpMotion *a_motionOut)
 
- 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_hkpKeyframedRigidMotion
 
- Static Public Attributes inherited from RE::hkpMotion
static constexpr auto RTTI = RTTI_hkpMotion
 
- Static Public Attributes inherited from RE::hkReferencedObject
static constexpr auto RTTI = RTTI_hkReferencedObject
 
- Static Public Attributes inherited from RE::hkBaseObject
static constexpr auto RTTI = RTTI_hkBaseObject
 

Additional Inherited Members

- Public Types inherited from RE::hkpMotion
enum  { kNumInactiveFramesToDeactivate = 5 }
 
enum class  MotionType {
  kInvalid , kDynamic , kSphereInertia , kBoxInertia ,
  kKeyframed , kFixed , kThinBoxInertia , kCharacter ,
  kTotal
}
 
- Public Types inherited from RE::hkReferencedObject
enum class  LockMode { kNone = 0 , kAuto , kManual }
 
enum  { kMemSize = 0x7FFF }
 
- Public Attributes inherited from RE::hkpMotion
stl::enumeration< MotionType, std::uint8_t > type
 
std::uint8_t deactivationIntegrateCounter
 
std::uint16_t deactivationNumInactiveFrames [2]
 
std::uint16_t pad016
 
std::uint64_t pad018
 
hkMotionState motionState
 
hkVector4 inertiaAndMassInv
 
hkVector4 linearVelocity
 
hkVector4 angularVelocity
 
hkVector4 deactivationRefPosition [2]
 
std::uint32_t deactivationRefOrientation [2]
 
hkpMaxSizeMotionmavedMotion
 
std::uint16_t savedQualityTypeIndex
 
std::uint16_t pad132
 
hkHalf gravityFactor
 
std::uint64_t pad138
 
- Public Attributes inherited from RE::hkReferencedObject
std::uint16_t memSizeAndFlags
 
volatile std::int16_t referenceCount
 
std::uint32_t pad0C
 

Constructor & Destructor Documentation

◆ ~hkpKeyframedRigidMotion()

RE::hkpKeyframedRigidMotion::~hkpKeyframedRigidMotion ( )
override

Member Function Documentation

◆ ApplyAngularImpulse()

void RE::hkpKeyframedRigidMotion::ApplyAngularImpulse ( const hkVector4 a_impulse)
overridevirtual

Implements RE::hkpMotion.

◆ ApplyForce() [1/2]

void RE::hkpKeyframedRigidMotion::ApplyForce ( const float  a_deltaTime,
const hkVector4 a_force 
)
overridevirtual

Implements RE::hkpMotion.

◆ ApplyForce() [2/2]

void RE::hkpKeyframedRigidMotion::ApplyForce ( const float  a_deltaTime,
const hkVector4 a_force,
const hkVector4 a_point 
)
overridevirtual

Implements RE::hkpMotion.

◆ ApplyLinearImpulse()

void RE::hkpKeyframedRigidMotion::ApplyLinearImpulse ( const hkVector4 a_impulse)
overridevirtual

Reimplemented from RE::hkpMotion.

◆ ApplyPointImpulse()

void RE::hkpKeyframedRigidMotion::ApplyPointImpulse ( const hkVector4 a_impulse,
const hkVector4 a_point 
)
overridevirtual

Implements RE::hkpMotion.

◆ ApplyTorque()

void RE::hkpKeyframedRigidMotion::ApplyTorque ( const float  a_deltaTime,
const hkVector4 a_torque 
)
overridevirtual

Implements RE::hkpMotion.

◆ GetInertiaInvLocal()

void RE::hkpKeyframedRigidMotion::GetInertiaInvLocal ( hkMatrix3 a_inertiaInvOut) const
overridevirtual

Implements RE::hkpMotion.

◆ GetInertiaInvWorld()

void RE::hkpKeyframedRigidMotion::GetInertiaInvWorld ( hkMatrix3 a_inertiaInvOut) const
overridevirtual

Implements RE::hkpMotion.

◆ GetInertiaLocal()

void RE::hkpKeyframedRigidMotion::GetInertiaLocal ( hkMatrix3 a_inertiaOut) const
overridevirtual

Implements RE::hkpMotion.

◆ GetInertiaWorld()

void RE::hkpKeyframedRigidMotion::GetInertiaWorld ( hkMatrix3 a_inertiaOut) const
overridevirtual

Implements RE::hkpMotion.

◆ GetProjectedPointVelocity()

void RE::hkpKeyframedRigidMotion::GetProjectedPointVelocity ( const hkVector4 a_point,
const hkVector4 a_normal,
float &  a_velOut,
float &  a_invVirtMassOut 
) const
overridevirtual

Implements RE::hkpMotion.

◆ SetInertiaInvLocal()

void RE::hkpKeyframedRigidMotion::SetInertiaInvLocal ( const hkMatrix3 a_inertiaInv)
overridevirtual

Implements RE::hkpMotion.

◆ SetInertiaLocal()

void RE::hkpKeyframedRigidMotion::SetInertiaLocal ( const hkMatrix3 a_inertia)
overridevirtual

Implements RE::hkpMotion.

◆ SetMass()

void RE::hkpKeyframedRigidMotion::SetMass ( float  a_mass)
overridevirtual

Reimplemented from RE::hkpMotion.

◆ SetMassInv()

void RE::hkpKeyframedRigidMotion::SetMassInv ( float  a_massInv)
overridevirtual

Reimplemented from RE::hkpMotion.

◆ SetStepPosition()

virtual void RE::hkpKeyframedRigidMotion::SetStepPosition ( float  a_position,
float  a_timestep 
)
virtual

Reimplemented in RE::hkpFixedRigidMotion.

◆ SetStoredMotion()

virtual void RE::hkpKeyframedRigidMotion::SetStoredMotion ( hkpMaxSizeMotion a_savedMotion)
virtual

Member Data Documentation

◆ RTTI

constexpr auto RE::hkpKeyframedRigidMotion::RTTI = RTTI_hkpKeyframedRigidMotion
inlinestaticconstexpr

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