FREE TRIAL

|

☀
☾
struct

TwoD<T>

A generic 2D wrapper.

Type Parameters
Name Description
T

The unmanaged type to store per 2D axis, X and Y.

Fields

X

The value mapped to the X axis.

Y

The value mapped to the Y axis.

Properties

Item[int]

Access each T by axis index.

Methods

Equals

Equality compare.

Constructors

TwoD(T, T)

Construct a new TwoD<T>.

Operators

Implicit(T to TwoD<T>)

Assigns both X and Y to the provided value.

☀
☾
In This Article
Legal EmailContact Github
Copyright © 2022 Supernova Technologies, LLC