|
virtual Color | GetColor () |
|
override void | Initialize (string id, Graph graph) |
|
bool | ContainsOtherNodeAt (Vector2 snappedPosition) |
|
IntVector2 | GetHalfGridLogicalCoords () |
|
virtual bool | SnapNode () |
|
virtual void | OnEnable () |
|
virtual void | CopyFrom (GraphNode node) |
| Called when the node is copied.
The implementations should implement copy here (e.g. deep / shallow copy depending on implementation) More...
|
|
GraphNode[] | GetParentNodes () |
| Gets the list of parent graph nodes More...
|
|
GraphNode[] | GetChildNodes () |
| Gets the list of child nodes More...
|
|
void | DragNode (Vector2 delta) |
| Moves the node by the specified delta More...
|
|
|
static Vector2 | GetSnapPosition (Vector2 position) |
|
|
static readonly float | TileSize = 200 |
|
|
SCRuleNodeDomain | ruleDomain = SCRuleNodeDomain.Invalid |
|
bool | isSnapped = false |
|
string | id |
|
string | caption |
|
Rect | bounds = new Rect(10, 10, 120, 120) |
|
bool | canBeDeleted = true |
|
bool | canBeSelected = true |
|
bool | canBeMoved = true |
|
bool | selected = false |
|
int | zIndex |
|
List< GraphPin > | inputPins |
|
List< GraphPin > | outputPins |
|
Graph | graph |
|
|
SCRuleNodeDomain | RuleDomain [get] |
|
bool | IsSnapped [get, set] |
|
string | Id [get, set] |
| The ID of the graph node More...
|
|
string | Caption [get, set] |
| The caption label of the node. It is up to the implementation to draw this label, if needed More...
|
|
Rect | Bounds [get, set] |
| The bounds of the node More...
|
|
bool | CanBeDeleted [get] |
|
bool | CanBeSelected [get] |
|
bool | CanBeMoved [get] |
|
bool | Selected [get, set] |
| Flag to indicate if the node has been selected More...
|
|
Vector2 | Size [get, set] |
| The size of the node More...
|
|
Vector2 | Position [get, set] |
| The position of the node More...
|
|
int | ZIndex [get, set] |
| The Z-index of the node. It determines if the node is on top of other nodes More...
|
|
GraphPin[]? | InputPins [get] |
| List of input pins owned by this node More...
|
|
GraphPin[]? | OutputPins [get] |
| List of output pins owned by this node More...
|
|
GraphPin | OutputPin [get] |
| Gets the first output pin. Returns null if no output pins are defined More...
|
|
GraphPin | InputPin [get] |
| Gets the first input pin. Returns null if no input pins are defined More...
|
|
Graph | Graph [get] |
| The graph that owns this node More...
|
|
bool | Dragging [get, set] |
|
|
void | UpdateName (string prefix) |
|
GraphPin | CreatePin (GraphPinType pinType, Vector2 position, Rect boundsOffset, Vector2 tangent) |
| Creates a pin with the specified configuration More...
|
|
T | CreatePinOfType< T > (GraphPinType pinType, Vector2 position, Rect boundsOffset, Vector2 tangent) |
|
Definition at line 7 of file SCBaseDomainNode.cs.
The documentation for this class was generated from the following file:
- C:/gamedev/unity/DA20.1X/Assets/CodeRespawn/DungeonArchitect/Scripts/Core/Frameworks/SpatialConstraints/Graph/Nodes/SCBaseDomainNode.cs