Godot Nature of Code
1.2.0
Nature of Code implemented in Godot Engine
|
Use this to draw a line between two points. Instead of DrawLine and Line2D, it can be batched. More...
Public Member Functions | |
SimpleLineSprite () | |
Create a grey line sprite. More... | |
Properties | |
Vector2 | PositionA [get, set] |
Point Position A. More... | |
Vector2 | PositionB [get, set] |
Point Position B. More... | |
float | Width [get, set] |
Line Width. More... | |
Use this to draw a line between two points. Instead of DrawLine and Line2D, it can be batched.
Definition at line 10 of file SimpleLineSprite.cs.
|
inline |
Create a grey line sprite.
Definition at line 58 of file SimpleLineSprite.cs.
|
getset |
Point Position A.
Definition at line 15 of file SimpleLineSprite.cs.
|
getset |
Point Position B.
Definition at line 28 of file SimpleLineSprite.cs.
|
getset |
Line Width.
Definition at line 41 of file SimpleLineSprite.cs.