Space Engineers
Public Member Functions | Static Public Member Functions | Public Attributes | Properties | List of all members
VRageMath.Vector4UByte Struct Reference

Public Member Functions

 Vector4UByte (byte x, byte y, byte z, byte w)
 
override string ToString ()
 

Static Public Member Functions

static Vector4UByte Round (Vector3 vec)
 
static Vector4UByte Round (Vector4 vec)
 
static Vector4UByte Normalize (Vector3 vec, float range)
 Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255) More...
 

Public Attributes

byte X
 
byte Y
 
byte Z
 
byte W
 

Properties

byte this[int index] [get, set]
 

Detailed Description

Definition at line 9 of file Vector4UByte.cs.

Constructor & Destructor Documentation

VRageMath.Vector4UByte.Vector4UByte ( byte  x,
byte  y,
byte  z,
byte  w 
)
inline

Definition at line 20 of file Vector4UByte.cs.

Member Function Documentation

static Vector4UByte VRageMath.Vector4UByte.Normalize ( Vector3  vec,
float  range 
)
inlinestatic

Normalizes Vector3 into Vector4UByte, scales vector from (-range, range) to (0, 255)

Definition at line 46 of file Vector4UByte.cs.

static Vector4UByte VRageMath.Vector4UByte.Round ( Vector3  vec)
inlinestatic

Definition at line 33 of file Vector4UByte.cs.

static Vector4UByte VRageMath.Vector4UByte.Round ( Vector4  vec)
inlinestatic

Definition at line 38 of file Vector4UByte.cs.

override string VRageMath.Vector4UByte.ToString ( )
inline

Definition at line 28 of file Vector4UByte.cs.

Member Data Documentation

byte VRageMath.Vector4UByte.W

Definition at line 18 of file Vector4UByte.cs.

byte VRageMath.Vector4UByte.X

Definition at line 12 of file Vector4UByte.cs.

byte VRageMath.Vector4UByte.Y

Definition at line 14 of file Vector4UByte.cs.

byte VRageMath.Vector4UByte.Z

Definition at line 16 of file Vector4UByte.cs.

Property Documentation

byte VRageMath.Vector4UByte.this[int index]
getset

Definition at line 56 of file Vector4UByte.cs.


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