![]() |
ezEngine Release 26.3
|
#include <AnimGraphPins.h>

Public Types | |
| enum | Type : ezUInt8 { Invalid , Trigger , Number , Bool , BoneWeights , LocalPose , ModelPose , ENUM_COUNT } |
Public Member Functions | |
| bool | IsConnected () const |
| virtual ezAnimGraphPin::Type | GetPinType () const =0 |
| ezResult | Serialize (ezStreamWriter &inout_stream) const |
| ezResult | Deserialize (ezStreamReader &inout_stream) |
Public Member Functions inherited from ezReflectedClass | |
| virtual const ezRTTI * | GetDynamicRTTI () const |
| bool | IsInstanceOf (const ezRTTI *pType) const |
| Returns whether the type of this instance is of the given type or derived from it. | |
| template<typename T > | |
| EZ_ALWAYS_INLINE bool | IsInstanceOf () const |
| Returns whether the type of this instance is of the given type or derived from it. | |
Protected Attributes | |
| ezInt16 | m_iPinIndex = -1 |
| Index into the instance's pin state array, -1 if unconnected. | |
| ezUInt8 | m_uiNumConnections = 0 |
| Number of connections to this pin. | |
Friends | |
| class | ezAnimGraph |
Additional Inherited Members | |
Static Public Member Functions inherited from ezNoBase | |
| static const ezRTTI * | GetStaticRTTI () |
Base class for all animation graph pins, representing typed connections between nodes.
Pins are the connection points on nodes that allow data to flow through the graph. Each pin has a type (trigger, number, bool, pose, etc.) and can be either an input or output. Pins are connected in the graph editor to define data flow.
During graph preparation, each pin is assigned an index (m_iPinIndex) that identifies its storage location in the instance data arrays. Unconnected pins have index -1 and return default values.
Output pins write values to the instance's pin state arrays, input pins read from those arrays. The mapping from output pin indices to input pin indices is pre-computed during PrepareForUse().
| enum ezAnimGraphPin::Type : ezUInt8 |
|
inline |
Returns whether this pin is connected to another pin.
Unconnected pins have index -1 and return default values when queried.