Nebula
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
20namespace GraphicsFeature
21{
22
24IndexT SkeletonJointTree(const Characters::SkeletonId skeleton);
28void 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
Definition graphicsfeatureunit.cc:66
int IndexT
Definition types.h:49