SuperTuxKart
Classes | Public Attributes | List of all members
SpeedWeightedObject Struct Reference

A speed-weighted object is an object whose characteristics are influenced by the kart's speed. More...

#include <kart_model.hpp>

Classes

struct  Properties
 Parameters for a speed-weighted object. More...
 

Public Attributes

scene::IAnimatedMesh * m_model
 Model.
 
scene::IAnimatedMeshSceneNode * m_node
 The scene node the speed weighted model is attached to.
 
core::matrix4 m_location
 The relative matrix to the parent kart scene node where the speed weighted object is attached to. More...
 
std::string m_name
 Filename of the "speed weighted" object.
 
std::string m_bone_name
 Attach to which bone in kart model if not empty. More...
 
core::vector2df m_texture_cur_offset
 Current uv translation in the texture matrix for speed-weighted texture animations.
 
Properties m_properties
 Specific properties for this given speed-weighted object, otherwise just a copy of the values from the kart's properties.
 

Detailed Description

A speed-weighted object is an object whose characteristics are influenced by the kart's speed.

Member Data Documentation

◆ m_bone_name

std::string SpeedWeightedObject::m_bone_name

Attach to which bone in kart model if not empty.

◆ m_location

core::matrix4 SpeedWeightedObject::m_location

The relative matrix to the parent kart scene node where the speed weighted object is attached to.


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