Nebula
Loading...
Searching...
No Matches
skeletonjoint.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
9
//------------------------------------------------------------------------------
10
#include "
core/types.h
"
11
namespace
Characters
12
{
13
14
// this structure is used update the skeleton in the eval job
15
struct
SkeletonJobJoint
16
{
17
// NOTE: DO NOT MODIFY THE MEMBERS OF THIS STRUCTURE!
18
SkeletonJobJoint
() :
19
varTranslationX
(0.0f),
20
varTranslationY
(0.0f),
21
varTranslationZ
(0.0f),
22
varTranslationW
(0.0f),
// for correct alignment, not used
23
varScaleX
(1.0f),
24
varScaleY
(1.0f),
25
varScaleZ
(1.0f),
26
parentJointIndex
(
InvalidIndex
)
27
{ };
28
29
float
varTranslationX
,
varTranslationY
,
varTranslationZ
,
varTranslationW
;
30
float
varScaleX
,
varScaleY
,
varScaleZ
;
31
int
parentJointIndex
;
32
};
33
34
}
// namespace Characters
Characters
A character encapsulates a skeleton resource, an animation resource, and the ability to instantiate s...
Definition
charactercontext.cc:21
Characters::SkeletonJobJoint::varScaleZ
float varScaleZ
Definition
skeletonjoint.h:30
Characters::SkeletonJobJoint::varTranslationZ
float varTranslationZ
Definition
skeletonjoint.h:29
Characters::SkeletonJobJoint::varScaleY
float varScaleY
Definition
skeletonjoint.h:30
Characters::SkeletonJobJoint::varTranslationY
float varTranslationY
Definition
skeletonjoint.h:29
Characters::SkeletonJobJoint::varTranslationX
float varTranslationX
Definition
skeletonjoint.h:29
Characters::SkeletonJobJoint::varScaleX
float varScaleX
Definition
skeletonjoint.h:30
Characters::SkeletonJobJoint::varTranslationW
float varTranslationW
Definition
skeletonjoint.h:29
Characters::SkeletonJobJoint::parentJointIndex
int parentJointIndex
Definition
skeletonjoint.h:31
Characters::SkeletonJobJoint::SkeletonJobJoint
SkeletonJobJoint()
Definition
skeletonjoint.h:18
types.h
InvalidIndex
static const int InvalidIndex
Definition
types.h:54
code
render
characters
skeletonjoint.h
Generated on Tue Jan 28 2025 22:43:05 for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.