C# Class AgaHackTools.Example.Shared.Math.Vector3

Afficher le fichier Open project: aganonki/HackTools

Méthodes publiques

Свойство Type Description
X float
Y float
Z float

Méthodes publiques

Méthode Description
AbsVector3 ( ) : Vector3
Aligned ( ) : VectorAligned
DistanceTo ( Vector3 other ) : float

Returns the distance from this Vector3 to the given Vector3

Equals ( object obj ) : bool
GetHashCode ( ) : int
Length ( ) : float

Returns the length of this Vector3

LengthSqr ( ) : float
Normalize ( ) : Vector3
ToFloat ( ) : float[]
ToString ( ) : string
Vector3 ( Vector3 vec ) : System

Initializes a new Vector3 by copying the values of the given Vector3

Vector3 ( float values ) : System

Initializes a new Vector3 using the given float-array

Vector3 ( float x, float y, float z ) : System

Initializes a new Vector3 using the given values

dot ( Vector3 dot ) : float
operator ( ) : Vector3
operator ( ) : bool
this ( int i ) : float

Method Details

AbsVector3() public méthode

public AbsVector3 ( ) : Vector3
Résultat Vector3

Aligned() public méthode

public Aligned ( ) : VectorAligned
Résultat VectorAligned

DistanceTo() public méthode

Returns the distance from this Vector3 to the given Vector3
public DistanceTo ( Vector3 other ) : float
other Vector3
Résultat float

Equals() public méthode

public Equals ( object obj ) : bool
obj object
Résultat bool

GetHashCode() public méthode

public GetHashCode ( ) : int
Résultat int

Length() public méthode

Returns the length of this Vector3
public Length ( ) : float
Résultat float

LengthSqr() public méthode

public LengthSqr ( ) : float
Résultat float

Normalize() public méthode

public Normalize ( ) : Vector3
Résultat Vector3

ToFloat() public méthode

public ToFloat ( ) : float[]
Résultat float[]

ToString() public méthode

public ToString ( ) : string
Résultat string

Vector3() public méthode

Initializes a new Vector3 by copying the values of the given Vector3
public Vector3 ( Vector3 vec ) : System
vec Vector3
Résultat System

Vector3() public méthode

Initializes a new Vector3 using the given float-array
public Vector3 ( float values ) : System
values float
Résultat System

Vector3() public méthode

Initializes a new Vector3 using the given values
public Vector3 ( float x, float y, float z ) : System
x float
y float
z float
Résultat System

dot() public méthode

public dot ( Vector3 dot ) : float
dot Vector3
Résultat float

operator() public static méthode

public static operator ( ) : Vector3
Résultat Vector3

operator() public static méthode

public static operator ( ) : bool
Résultat bool

this() public méthode

public this ( int i ) : float
i int
Résultat float

Property Details

X public_oe property

public float X
Résultat float

Y public_oe property

public float Y
Résultat float

Z public_oe property

public float Z
Résultat float