|
Vector2 | Padding = new Vector2(10, 10) |
|
|
GraphPinMouseState | ClickState [get, set] |
| The state of the mouse input on this pin More...
|
|
GraphPinType | PinType [get, set] |
| The type of this pin More...
|
|
GraphNode | Node [get, set] |
| The owning graph node More...
|
|
Vector2 | Position [get, set] |
| The position of the graph pin, relative to the owning node's position More...
|
|
Vector2 | WorldPosition [get] |
| The world position of the pin More...
|
|
Rect | BoundsOffset [get, set] |
| The bounds of the pin, relative to the node's position More...
|
|
Vector2 | Tangent [get, set] |
| The tangent of the pin. Links connected to this pin would come in or out from this direction More...
|
|
float | TangentStrength [get, set] |
| The spring strength of the link connected to this pin More...
|
|
bool | RequestLinkDeletionInitiated [get, set] |
|
OnPinLinksDestroyed | PinLinksDestroyed |
| Notifies whenever the pin is destroyed More...
|
|
Definition at line 7 of file GrammarNodePin.cs.
◆ ContainsPoint()
override bool DungeonArchitect.Grammar.GrammarNodePin.ContainsPoint |
( |
Vector2 |
worldPoint | ) |
|
|
virtual |
Checks if a point is inside the pin
- Parameters
-
worldPoint | The point to test in world coordinates |
- Returns
- true, if inside the bounds of this pin, false otherwise
Reimplemented from DungeonArchitect.Graphs.GraphPin.
Definition at line 11 of file GrammarNodePin.cs.
The documentation for this class was generated from the following file:
- C:/gamedev/unity/DA20.1X/Assets/CodeRespawn/DungeonArchitect/Scripts/Modules/Grammar/Graphs/Grammar/Nodes/GrammarNodePin.cs