Public Member Functions | Properties | List of all members
Vector3 Struct Reference

Defines a vector with three components. More...

Public Member Functions

 Vector3 (double x, double y, double z)
 Initializes a new instance of the Vector3 class. More...
 
override string ToString ()
 Obtains a string representation of the current instance. More...
 

Properties

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

Detailed Description

Defines a vector with three components.

Constructor & Destructor Documentation

◆ Vector3()

Vector3 ( double  x,
double  y,
double  z 
)
inline

Initializes a new instance of the Vector3 class.

Parameters
xX component of the vector.
yY component of the vector.
zZ component of the vector.

Member Function Documentation

◆ ToString()

override string ToString ( )
inline

Obtains a string representation of the current instance.

Returns
String that represents the object.

Property Documentation

◆ X

double X
getset

Gets or sets the X component of the vector.

◆ Y

double Y
getset

Gets or sets the Y component of the vector.

◆ Z

double Z
getset

Gets or sets the Z component of the vector.


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