Nebula
Toggle main menu visibility
Loading...
Searching...
No Matches
skeletonview.h
Go to the documentation of this file.
1
#pragma once
2
//------------------------------------------------------------------------------
11
//------------------------------------------------------------------------------
12
#if WITH_NEBULA_EDITOR
13
// the skeleton header needs the allocators declared first
14
#include "
ids/idallocator.h
"
15
#include "
characters/skeleton.h
"
16
#include "
math/mat4.h
"
17
#include "
util/fixedarray.h
"
18
#include "imgui.h"
19
20
namespace
GraphicsFeature
21
{
22
24
IndexT
SkeletonJointTree(
const
Characters::SkeletonId skeleton);
28
void
SkeletonOverlay(ImDrawList* drawList,
const
Math::mat4& viewProjection,
const
ImVec2& imageMin,
const
ImVec2& imageMax,
const
Characters::SkeletonId skeleton,
const
Util::FixedArray<Math::mat4>& joints,
const
Math::mat4& transform,
const
IndexT
highlight,
const
Util::FixedArray<float>* weights =
nullptr
);
29
30
}
// namespace GraphicsFeature
31
#endif
// WITH_NEBULA_EDITOR
fixedarray.h
idallocator.h
mat4.h
GraphicsFeature
Definition
graphicsfeatureunit.cc:66
skeleton.h
IndexT
int IndexT
Definition
types.h:49
code
addons
graphicsfeature
editor
assets
skeletonview.h
Generated on
for Nebula. Dark theme by
Tilen Majerle
. All rights reserved.