C# Class Pathfinding.Int3

显示文件 Open project: henryj41043/TheUnseen Class Usage Examples

Public Properties

Property Type Description
x int
y int
z int

Private Properties

Property Type Description

Public Methods

Method Description
Angle ( Int3 lhs, Int3 rhs ) : float
DivBy2 ( ) : Int3
Dot ( Int3 lhs, Int3 rhs ) : int
DotLong ( Int3 lhs, Int3 rhs ) : long
Equals ( System o ) : bool
GetHashCode ( ) : int
Int3 ( Vector3 position ) : Pathfinding.Pathfinding
Int3 ( int _x, int _y, int _z ) : Pathfinding.Pathfinding
Normal2D ( ) : Int3
NormalizeTo ( int newMagn ) : Int3
ToString ( ) : string
operator ( ) : Int3
operator ( ) : bool
this ( int i ) : int

Method Details

Angle() public static method

public static Angle ( Int3 lhs, Int3 rhs ) : float
lhs Int3
rhs Int3
return float

DivBy2() public method

public DivBy2 ( ) : Int3
return Int3

Dot() public static method

public static Dot ( Int3 lhs, Int3 rhs ) : int
lhs Int3
rhs Int3
return int

DotLong() public static method

public static DotLong ( Int3 lhs, Int3 rhs ) : long
lhs Int3
rhs Int3
return long

Equals() public method

public Equals ( System o ) : bool
o System
return bool

GetHashCode() public method

public GetHashCode ( ) : int
return int

Int3() public method

public Int3 ( Vector3 position ) : Pathfinding.Pathfinding
position Vector3
return Pathfinding.Pathfinding

Int3() public method

public Int3 ( int _x, int _y, int _z ) : Pathfinding.Pathfinding
_x int
_y int
_z int
return Pathfinding.Pathfinding

Normal2D() public method

public Normal2D ( ) : Int3
return Int3

NormalizeTo() public method

public NormalizeTo ( int newMagn ) : Int3
newMagn int
return Int3

ToString() public method

public ToString ( ) : string
return string

operator() public static method

public static operator ( ) : Int3
return Int3

operator() public static method

public static operator ( ) : bool
return bool

this() public method

public this ( int i ) : int
i int
return int

Property Details

x public_oe property

public int x
return int

y public_oe property

public int y
return int

z public_oe property

public int z
return int