Luanti 5.19.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 finishedInterpolation () const
bool isIdentity () const

Public Attributes

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

Member Function Documentation

◆ finishedInterpolation()

bool BoneOverride::finishedInterpolation ( ) const
inline

References dtime_passed, BoneOverride::PositionProperty::interp_duration, BoneOverride::RotationProperty::interp_duration, BoneOverride::ScaleProperty::interp_duration, position, rotation, and scale.

Referenced by isIdentity().

Here is the caller graph for this function:

◆ getPosition()

v3f BoneOverride::getPosition ( v3f anim_pos) const
inline

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

Referenced by GenericCAO::addToScene().

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_duration, BoneOverride::RotationProperty::next, BoneOverride::RotationProperty::previous, and rotation.

Referenced by GenericCAO::addToScene().

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_duration, BoneOverride::ScaleProperty::previous, scale, and BoneOverride::ScaleProperty::vector.

Referenced by GenericCAO::addToScene().

Here is the caller graph for this function:

◆ isIdentity()

bool BoneOverride::isIdentity ( ) const
inline

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

Referenced by GenericCAO::addToScene().

Here is the call graph for this function:
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: