OmegaEngine API  1.0.3
Public Member Functions | Static Public Member Functions | Properties | List of all members
OmegaEngine.Values.ByteVector4 Struct Reference

Defines a four component vector with byte accuracy. More...

Inheritance diagram for OmegaEngine.Values.ByteVector4:

Public Member Functions

 ByteVector4 (byte x, byte y, byte z, byte w)
 Creates a new vector. More...
 
override string ToString ()
 
bool Equals (ByteVector4 other)
 
override bool Equals (object obj)
 
override int GetHashCode ()
 

Static Public Member Functions

static bool operator== (ByteVector4 left, ByteVector4 right)
 
static bool operator != (ByteVector4 left, ByteVector4 right)
 

Properties

byte X [get, set]
 Gets or sets the X component of the vector. More...
 
byte Y [get, set]
 Gets or sets the Y component of the vector. More...
 
byte Z [get, set]
 Gets or sets the Z component of the vector. More...
 
byte W [get, set]
 Gets or sets the W component of the vector. More...
 

Detailed Description

Defines a four component vector with byte accuracy.

Constructor & Destructor Documentation

◆ ByteVector4()

OmegaEngine.Values.ByteVector4.ByteVector4 ( byte  x,
byte  y,
byte  z,
byte  w 
)
inline

Creates a new vector.

Parameters
xThe X component.
yThe Y component.
zThe Z component.
wThe W component.

Property Documentation

◆ W

byte OmegaEngine.Values.ByteVector4.W
getset

Gets or sets the W component of the vector.

◆ X

byte OmegaEngine.Values.ByteVector4.X
getset

Gets or sets the X component of the vector.

◆ Y

byte OmegaEngine.Values.ByteVector4.Y
getset

Gets or sets the Y component of the vector.

◆ Z

byte OmegaEngine.Values.ByteVector4.Z
getset

Gets or sets the Z component of the vector.


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