Table of Contents

Struct Rectangle

Draws a 2D wireframe rectangle on the plane defined by the given facing axis.

public struct Rectangle
Extension Methods

Fields

color

The rectangle's color.

public Color? color

Field Value

Color?

facing

Defines the normal of the plane the rectangle will be drawn on.

public Facing facing

Field Value

Facing

position

The centre of the rectangle.

public float3 position

Field Value

float3

size

The size of the rectangle.

public float2 size

Field Value

float2