void Draw | ( | Vector3 | center, |
Vector3 | direction1, | ||
Vector3 | direction2 | ||
) |
Draws a plane at the given center position.
The plane is defined by the two directions, direction1 and direction2 . Both directions should not be Vector3.zero nor parallel to each other.
Needs to be called in Unity's OnDrawGizmos method.
center | The center position for the plane to be drawn. |
direction1 | The first direction vector defining the plane. |
direction2 | The second direction vector defining the plane. |