Tramway SDK
Public Member Functions | Protected Attributes | List of all members
tram::Physics::ArmMotionState Class Reference

#include <motionstates.h>

Inheritance diagram for tram::Physics::ArmMotionState:

Public Member Functions

 ArmMotionState (name_t boneName, AnimationComponent *armature, vec3 bindPos, Entity *entity, PhysicsComponent *physicsComp)
 
virtual ~ArmMotionState ()
 
virtual void getWorldTransform (btTransform &worldTrans) const
 
virtual void setWorldTransform (const btTransform &worldTrans)
 

Protected Attributes

PhysicsComponentphyscomp
 
AnimationComponentarm
 
Entityent
 
vec3 offset
 
name_t bone
 

Constructor & Destructor Documentation

◆ ArmMotionState()

tram::Physics::ArmMotionState::ArmMotionState ( name_t  boneName,
AnimationComponent armature,
vec3  bindPos,
Entity entity,
PhysicsComponent physicsComp 
)
inline

◆ ~ArmMotionState()

virtual tram::Physics::ArmMotionState::~ArmMotionState ( )
inlinevirtual

Member Function Documentation

◆ getWorldTransform()

virtual void tram::Physics::ArmMotionState::getWorldTransform ( btTransform &  worldTrans) const
inlinevirtual

◆ setWorldTransform()

virtual void tram::Physics::ArmMotionState::setWorldTransform ( const btTransform &  worldTrans)
inlinevirtual

Member Data Documentation

◆ arm

AnimationComponent* tram::Physics::ArmMotionState::arm
protected

◆ bone

name_t tram::Physics::ArmMotionState::bone
protected

◆ ent

Entity* tram::Physics::ArmMotionState::ent
protected

◆ offset

vec3 tram::Physics::ArmMotionState::offset
protected

◆ physcomp

PhysicsComponent* tram::Physics::ArmMotionState::physcomp
protected

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