Plasma Engine  2.0
Loading...
Searching...
No Matches
RestPoseAnimNode.h
1#pragma once
2
3#include <Core/ResourceManager/ResourceHandle.h>
4#include <RendererCore/AnimationSystem/AnimGraph/AnimGraphNode.h>
5#include <RendererCore/AnimationSystem/AnimationClipResource.h>
6
7class PL_RENDERERCORE_DLL plRestPoseAnimNode : public plAnimGraphNode
8{
9 PL_ADD_DYNAMIC_REFLECTION(plRestPoseAnimNode, plAnimGraphNode);
10
12 // plAnimGraphNode
13
14protected:
15 virtual plResult SerializeNode(plStreamWriter& stream) const override;
16 virtual plResult DeserializeNode(plStreamReader& stream) override;
17
18 virtual void Step(plAnimController& ref_controller, plAnimGraphInstance& ref_graph, plTime tDiff, const plSkeletonResource* pSkeleton, plGameObject* pTarget) const override;
19
21 // plRestPoseAnimNode
22
23private:
24 plAnimGraphLocalPoseOutputPin m_OutPose; // [ property ]
25};
Definition AnimController.h:52
Definition AnimGraphInstance.h:15
Definition AnimGraphPins.h:194
Base class for all nodes in an plAnimGraphInstance.
Definition AnimGraphNode.h:36
This class represents an object inside the world.
Definition GameObject.h:32
Definition RestPoseAnimNode.h:8
Definition SkeletonResource.h:47
Interface for binary in (read) streams.
Definition Stream.h:22
Interface for binary out (write) streams.
Definition Stream.h:107
Default enum for returning failure or success, instead of using a bool.
Definition Types.h:54
The time class encapsulates a double value storing the time in seconds.
Definition Time.h:12