C# Class NFrame.NFVector3

Show file Open project: ketoo/NoahGameFrame Class Usage Examples

Public Methods

Method Description
Direction ( ) : NFVector3
Distance ( NFVector3 va, NFVector3 vb ) : float
FromString ( string value ) : bool
IsZero ( ) : bool
Length ( ) : float
NFVector3 ( ) : System
NFVector3 ( float x, float y, float z ) : System
SetX ( float x ) : void
SetY ( float y ) : void
SetZ ( float z ) : void
SquaredLength ( ) : float
ToStr ( ) : string
X ( ) : float
Y ( ) : float
Z ( ) : float
add ( NFVector3 va, NFVector3 vb ) : NFVector3
sub ( NFVector3 va, NFVector3 vb ) : NFVector3

Method Details

Direction() public method

public Direction ( ) : NFVector3
return NFVector3

Distance() public static method

public static Distance ( NFVector3 va, NFVector3 vb ) : float
va NFVector3
vb NFVector3
return float

FromString() public method

public FromString ( string value ) : bool
value string
return bool

IsZero() public method

public IsZero ( ) : bool
return bool

Length() public method

public Length ( ) : float
return float

NFVector3() public method

public NFVector3 ( ) : System
return System

NFVector3() public method

public NFVector3 ( float x, float y, float z ) : System
x float
y float
z float
return System

SetX() public method

public SetX ( float x ) : void
x float
return void

SetY() public method

public SetY ( float y ) : void
y float
return void

SetZ() public method

public SetZ ( float z ) : void
z float
return void

SquaredLength() public method

public SquaredLength ( ) : float
return float

ToStr() public method

public ToStr ( ) : string
return string

X() public method

public X ( ) : float
return float

Y() public method

public Y ( ) : float
return float

Z() public method

public Z ( ) : float
return float

add() public static method

public static add ( NFVector3 va, NFVector3 vb ) : NFVector3
va NFVector3
vb NFVector3
return NFVector3

sub() public static method

public static sub ( NFVector3 va, NFVector3 vb ) : NFVector3
va NFVector3
vb NFVector3
return NFVector3