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

#include <hkpFixedRigidMotion.h>

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

Public Member Functions

 ~hkpFixedRigidMotion () override
 
void SetLinearVelocity (const hkVector4 &a_newVel) override
 
void SetAngularVelocity (const hkVector4 &a_newVel) override
 
void SetStepPosition (float a_position, float a_timestep) override
 
virtual void GetPositionAndVelocities (hkpMotion *a_motionOut)
 
- Public Member Functions inherited from RE::hkpKeyframedRigidMotion
 ~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)
 
hkVector4 GetPointVelocity (const hkVector4 &a_point) const
 
- 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)
 
float GetMass ()
 
- 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_hkpFixedRigidMotion
 
static constexpr auto VTABLE = VTABLE_hkpFixedRigidMotion
 
- Static Public Attributes inherited from RE::hkpKeyframedRigidMotion
static constexpr auto RTTI = RTTI_hkpKeyframedRigidMotion
 
static constexpr auto VTABLE = VTABLE_hkpKeyframedRigidMotion
 
- Static Public Attributes inherited from RE::hkpMotion
static constexpr auto RTTI = RTTI_hkpMotion
 
static constexpr auto VTABLE = VTABLE_hkpMotion
 
- 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::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]
 
hkpMaxSizeMotionsavedMotion
 
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

◆ ~hkpFixedRigidMotion()

RE::hkpFixedRigidMotion::~hkpFixedRigidMotion ( )
override

Member Function Documentation

◆ GetPositionAndVelocities()

virtual void RE::hkpFixedRigidMotion::GetPositionAndVelocities ( hkpMotion a_motionOut)
virtual

◆ SetAngularVelocity()

void RE::hkpFixedRigidMotion::SetAngularVelocity ( const hkVector4 a_newVel)
overridevirtual

Reimplemented from RE::hkpMotion.

◆ SetLinearVelocity()

void RE::hkpFixedRigidMotion::SetLinearVelocity ( const hkVector4 a_newVel)
overridevirtual

Reimplemented from RE::hkpMotion.

◆ SetStepPosition()

void RE::hkpFixedRigidMotion::SetStepPosition ( float  a_position,
float  a_timestep 
)
overridevirtual

Reimplemented from RE::hkpKeyframedRigidMotion.

Member Data Documentation

◆ RTTI

constexpr auto RE::hkpFixedRigidMotion::RTTI = RTTI_hkpFixedRigidMotion
inlinestaticconstexpr

◆ VTABLE

constexpr auto RE::hkpFixedRigidMotion::VTABLE = VTABLE_hkpFixedRigidMotion
inlinestaticconstexpr

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