Plasma Engine  2.0
Loading...
Searching...
No Matches
ControllerInputAnimNode.h
1#pragma once
2
3#include <RendererCore/AnimationSystem/AnimGraph/AnimGraphNode.h>
4
5class PL_RENDERERCORE_DLL plControllerInputAnimNode : public plAnimGraphNode
6{
7 PL_ADD_DYNAMIC_REFLECTION(plControllerInputAnimNode, plAnimGraphNode);
8
10 // plAnimGraphNode
11
12protected:
13 virtual plResult SerializeNode(plStreamWriter& stream) const override;
14 virtual plResult DeserializeNode(plStreamReader& stream) override;
15
16 virtual void Step(plAnimController& ref_controller, plAnimGraphInstance& ref_graph, plTime tDiff, const plSkeletonResource* pSkeleton, plGameObject* pTarget) const override;
17
19 // plControllerInputAnimNode
20
21private:
22 plAnimGraphNumberOutputPin m_OutLeftStickX; // [ property ]
23 plAnimGraphNumberOutputPin m_OutLeftStickY; // [ property ]
24 plAnimGraphNumberOutputPin m_OutRightStickX; // [ property ]
25 plAnimGraphNumberOutputPin m_OutRightStickY; // [ property ]
26
27 plAnimGraphNumberOutputPin m_OutLeftTrigger; // [ property ]
28 plAnimGraphNumberOutputPin m_OutRightTrigger; // [ property ]
29
30 plAnimGraphBoolOutputPin m_OutButtonA; // [ property ]
31 plAnimGraphBoolOutputPin m_OutButtonB; // [ property ]
32 plAnimGraphBoolOutputPin m_OutButtonX; // [ property ]
33 plAnimGraphBoolOutputPin m_OutButtonY; // [ property ]
34
35 plAnimGraphBoolOutputPin m_OutLeftShoulder; // [ property ]
36 plAnimGraphBoolOutputPin m_OutRightShoulder; // [ property ]
37
38 plAnimGraphBoolOutputPin m_OutPadLeft; // [ property ]
39 plAnimGraphBoolOutputPin m_OutPadRight; // [ property ]
40 plAnimGraphBoolOutputPin m_OutPadUp; // [ property ]
41 plAnimGraphBoolOutputPin m_OutPadDown; // [ property ]
42};
Definition AnimController.h:52
Definition AnimGraphPins.h:140
Definition AnimGraphInstance.h:15
Base class for all nodes in an plAnimGraphInstance.
Definition AnimGraphNode.h:36
Definition AnimGraphPins.h:118
Definition ControllerInputAnimNode.h:6
This class represents an object inside the world.
Definition GameObject.h:32
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