Unravel Engine C# Reference
Loading...
Searching...
No Matches
Size< T > Struct Template Reference

Public Member Functions

 Size (T width, T height)
 
bool IsValid ()
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator== (Size< T > a, Size< T > b)
 
static bool operator!= (Size< T > a, Size< T > b)
 
static bool operator< (Size< T > a, Size< T > b)
 
static bool operator> (Size< T > a, Size< T > b)
 

Public Attributes

Width
 
Height
 

Detailed Description

Type Constraints
T :IComparable<T> 

Definition at line 8 of file Constructs.cs.

Constructor & Destructor Documentation

◆ Size()

Size< T >.Size ( T width,
T height )

Definition at line 14 of file Constructs.cs.

Member Function Documentation

◆ Equals()

override bool Size< T >.Equals ( object obj)

◆ GetHashCode()

override int Size< T >.GetHashCode ( )

◆ IsValid()

bool Size< T >.IsValid ( )

◆ operator!=()

static bool Size< T >.operator!= ( Size< T > a,
Size< T > b )
static

◆ operator<()

static bool Size< T >.operator< ( Size< T > a,
Size< T > b )
static

Definition at line 32 of file Constructs.cs.

◆ operator==()

static bool Size< T >.operator== ( Size< T > a,
Size< T > b )
static

◆ operator>()

static bool Size< T >.operator> ( Size< T > a,
Size< T > b )
static

Definition at line 38 of file Constructs.cs.

Member Data Documentation

◆ Height

T Size< T >.Height

Definition at line 12 of file Constructs.cs.

◆ Width

T Size< T >.Width

Definition at line 11 of file Constructs.cs.


The documentation for this struct was generated from the following file: