Rebel Fork Framework
Urho3D::GraphInPin Class Reference

Graph node pin with connection. More...

#include <Urho3D/Resource/GraphPin.h>

Inheritance diagram for Urho3D::GraphInPin:
Urho3D::GraphDataPin Urho3D::GraphPin

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 VariantGetValue ()
 
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.
 

Detailed Description

Graph node pin with connection.

Member Function Documentation

◆ GetValue()

const Variant& Urho3D::GraphInPin::GetValue ( )
inline

Get value.

◆ SetValue()

void Urho3D::GraphInPin::SetValue ( const Variant variant)

Set value. Disconnects pin from an "Out" pin.


The documentation for this class was generated from the following files: