Luanti 5.11.0-dev
 
Loading...
Searching...
No Matches
BoneOverride Struct Reference

#include <activeobject.h>

+ Collaboration diagram for BoneOverride:

Classes

struct  PositionProperty
 
struct  RotationProperty
 
struct  ScaleProperty
 

Public Member Functions

v3f getPosition (v3f anim_pos) const
 
v3f getRotationEulerDeg (v3f anim_rot_euler) const
 
v3f getScale (v3f anim_scale) const
 
bool isIdentity () const
 

Public Attributes

struct BoneOverride::PositionProperty position
 
struct BoneOverride::RotationProperty rotation
 
struct BoneOverride::ScaleProperty scale
 
f32 dtime_passed = 0
 

Member Function Documentation

◆ getPosition()

v3f BoneOverride::getPosition ( v3f anim_pos) const
inline

References BoneOverride::PositionProperty::absolute, dtime_passed, BoneOverride::PositionProperty::interp_timer, position, BoneOverride::PositionProperty::previous, and BoneOverride::PositionProperty::vector.

Referenced by GenericCAO::updateBones().

+ Here is the caller graph for this function:

◆ getRotationEulerDeg()

v3f BoneOverride::getRotationEulerDeg ( v3f anim_rot_euler) const
inline

References BoneOverride::RotationProperty::absolute, dtime_passed, BoneOverride::RotationProperty::interp_timer, BoneOverride::RotationProperty::next, BoneOverride::RotationProperty::previous, and rotation.

Referenced by GenericCAO::updateBones().

+ Here is the caller graph for this function:

◆ getScale()

v3f BoneOverride::getScale ( v3f anim_scale) const
inline

References BoneOverride::ScaleProperty::absolute, dtime_passed, BoneOverride::ScaleProperty::interp_timer, BoneOverride::ScaleProperty::previous, scale, and BoneOverride::ScaleProperty::vector.

Referenced by GenericCAO::updateBones().

+ Here is the caller graph for this function:

◆ isIdentity()

bool BoneOverride::isIdentity ( ) const
inline

References BoneOverride::PositionProperty::absolute, BoneOverride::RotationProperty::absolute, BoneOverride::ScaleProperty::absolute, BoneOverride::RotationProperty::next, position, rotation, scale, BoneOverride::PositionProperty::vector, and BoneOverride::ScaleProperty::vector.

Referenced by GenericCAO::processMessage().

+ Here is the caller graph for this function:

Member Data Documentation

◆ dtime_passed

◆ position

◆ rotation

◆ scale


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