TDME2
1.9.200
src
tdme
engine
model
JointWeight.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <
tdme/tdme.h
>
4
#include <
tdme/engine/model/fwd-tdme.h
>
5
6
/**
7
* Joint/bone weight
8
* @author andreas.drewke
9
*/
10
class
tdme::engine::model::JointWeight
final
11
{
12
private
:
13
int32_t
jointIndex
;
14
int32_t
weightIndex
;
15
16
public
:
17
/**
18
* Public constructor
19
*/
20
JointWeight
();
21
22
/**
23
* Public constructor
24
* @param jointIndex joint index
25
* @param weightIndex weight index
26
*/
27
JointWeight
(int32_t
jointIndex
, int32_t
weightIndex
);
28
29
/**
30
* @returns joint index
31
*/
32
inline
int32_t
getJointIndex
()
const
{
33
return
jointIndex
;
34
}
35
36
/**
37
* @returns weight index
38
*/
39
inline
int32_t
getWeightIndex
()
const
{
40
return
weightIndex
;
41
}
42
43
};
tdme::engine::model::JointWeight
Joint/bone weight.
Definition:
JointWeight.h:11
tdme::engine::model::JointWeight::getWeightIndex
int32_t getWeightIndex() const
Definition:
JointWeight.h:39
tdme::engine::model::JointWeight::getJointIndex
int32_t getJointIndex() const
Definition:
JointWeight.h:32
tdme::engine::model::JointWeight::jointIndex
int32_t jointIndex
Definition:
JointWeight.h:13
tdme::engine::model::JointWeight::JointWeight
JointWeight()
Public constructor.
Definition:
JointWeight.cpp:6
tdme::engine::model::JointWeight::weightIndex
int32_t weightIndex
Definition:
JointWeight.h:14
fwd-tdme.h
tdme.h
Generated by
1.9.1