|
Rebel Fork Framework
|
Graph node pin with connection. More...
#include <Urho3D/Resource/GraphPin.h>
Public Member Functions | |
| GraphInPin ()=default | |
| Construct. | |
| bool | ConnectTo (GraphPinRef< GraphOutPin > pin) |
| Connect to other pin. | |
| void | Disconnect () |
| Disconnect pin. | |
| bool | IsConnected () const |
| Get true if pin is connected. | |
| const Variant & | GetValue () |
| void | SetValue (const Variant &variant) |
| void | SerializeInBlock (Archive &archive) override |
| Serialize content from/to archive. May throw ArchiveException. | |
Public Member Functions inherited from Urho3D::GraphDataPin | |
| VariantType | GetType () const |
| void | SetType (VariantType type) |
Public Member Functions inherited from Urho3D::GraphPin | |
| const ea::string & | GetName () |
Private Attributes | |
| unsigned | targetNode_ {} |
| Target node. | |
| ea::string | targetPin_ |
| Target pin name. | |
| Variant | value_ |
| Target node. | |
Friends | |
| class | Graph |
Additional Inherited Members | |
Protected Member Functions inherited from Urho3D::GraphPin | |
| void | SetName (const ea::string_view name) |
Protected Attributes inherited from Urho3D::GraphDataPin | |
| VariantType | type_ {VAR_NONE} |
| Pin type. | |
Protected Attributes inherited from Urho3D::GraphPin | |
| ea::string | name_ |
| Pin name. | |
Graph node pin with connection.
|
inline |
Get value.
|
overridevirtual |
Serialize content from/to archive. May throw ArchiveException.
Reimplemented from Urho3D::GraphDataPin.
| void Urho3D::GraphInPin::SetValue | ( | const Variant & | variant | ) |
Set value. Disconnects pin from an "Out" pin.