3#include <Foundation/Math/Declarations.h>
4#include <RendererCore/AnimationSystem/SkeletonResource.h>
5#include <RendererCore/Components/RenderComponent.h>
6#include <RendererCore/Debug/DebugRenderer.h>
46 void SetSkeletonFile(
const char* szFile);
47 const char* GetSkeletonFile()
const;
57 void SetBonesToHighlight(
const char* szFilter);
58 const char* GetBonesToHighlight()
const;
60 bool m_bVisualizeBones =
true;
61 bool m_bVisualizeColliders =
false;
62 bool m_bVisualizeJoints =
false;
63 bool m_bVisualizeSwingLimits =
false;
64 bool m_bVisualizeTwistLimits =
false;
68 void VisualizeSkeletonDefaultState();
80 plUInt32 m_uiSkeletonChangeCounter = 0;
Float wrapper struct for a safe usage and conversions of angles.
Definition Angle.h:10
plColor represents an RGBA color in linear color space. Values are stored as float,...
Definition Color.h:44
virtual void SerializeComponent(plWorldWriter &inout_stream) const
Override this to save the current state of the component to the given stream.
Definition Component.cpp:54
virtual void DeserializeComponent(plWorldReader &inout_stream)
Override this to load the current state of the component from the given stream.
Definition Component.cpp:58
Simple component manager implementation that calls an update method on all components every frame.
Definition ComponentManager.h:142
Definition DynamicArray.h:81
Base class for objects that should be rendered.
Definition RenderComponent.h:9
virtual void OnActivated() override
This method is called when the component gets activated.
Definition RenderComponent.cpp:33
virtual plResult GetLocalBounds(plBoundingBoxSphere &ref_bounds, bool &ref_bAlwaysVisible, plMsgUpdateLocalBounds &ref_msg)=0
Called by plRenderComponent::OnUpdateLocalBounds(). If PL_SUCCESS is returned, bounds and bAlwaysVisi...
Uses debug rendering to visualize various aspects of an animation skeleton.
Definition SkeletonComponent.h:19
Reads a world description from a stream. Allows to instantiate that world multiple times in different...
Definition WorldReader.h:47
Stores an entire plWorld in a stream.
Definition WorldWriter.h:13
Definition DebugRenderer.h:84
Used by components that skin a mesh to inform children whenever a new pose has been computed.
Definition Declarations.h:68
The animated mesh component listens to this message and 'answers' by filling out the skeleton resourc...
Definition Declarations.h:99
Definition UpdateLocalBoundsMessage.h:9
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
Definition SkeletonComponent.h:109
Definition SkeletonComponent.h:94
Definition SkeletonComponent.h:101
Definition SkeletonComponent.h:117
Definition SkeletonComponent.h:125
Definition SkeletonComponent.h:87