Struct CollisionChecker.DebugLine
Simple container for data required to draw lines that show a collision in the system.
Namespace: AS2.Sim
Assembly: .dll
Syntax
[Serializable]
public struct CollisionChecker.DebugLine
Constructors
| Edit this page View SourceDebugLine(Vector2Int, Vector2Int, Color, bool)
Declaration
public DebugLine(Vector2Int p, Vector2Int q, Color color, bool arrow = false)
Parameters
Type | Name | Description |
---|---|---|
Vector2Int | p | |
Vector2Int | q | |
Color | color | |
bool | arrow |
Fields
| Edit this page View Sourcearrow
Determines whether the line should end with an arrow or not.
Declaration
public bool arrow
Field Value
Type | Description |
---|---|
bool |
color
The color of the line.
Declaration
public Color color
Field Value
Type | Description |
---|---|
Color |
p
The start point of the line.
Declaration
public Vector2Int p
Field Value
Type | Description |
---|---|
Vector2Int |
q
The end point of the line.
Declaration
public Vector2Int q
Field Value
Type | Description |
---|---|
Vector2Int |