Luanti 5.16.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, 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 dtime_passed, and position.

Referenced by GenericCAO::addToScene().

Here is the caller graph for this function:

◆ getRotationEulerDeg()

v3f BoneOverride::getRotationEulerDeg ( v3f anim_rot_euler) const
inline

References dtime_passed, and rotation.

Referenced by GenericCAO::addToScene().

Here is the caller graph for this function:

◆ getScale()

v3f BoneOverride::getScale ( v3f anim_scale) const
inline

References dtime_passed, and scale.

Referenced by GenericCAO::addToScene().

Here is the caller graph for this function:

◆ isIdentity()

bool BoneOverride::isIdentity ( ) const
inline

References finishedInterpolation(), position, rotation, and scale.

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: