C# Class CLScriptExt.Vector3

Show file Open project: lightszero/cslightcore Class Usage Examples

Public Properties

Property Type Description
typetag string
x float
y float
z float

Public Methods

Method Description
Cross ( Vector3 left, Vector3 right ) : Vector3
Cross ( Vector3 left, float v ) : Vector3
Dot ( Vector3 left, Vector3 right ) : float
Normalized ( ) : Vector3
ToString ( ) : string
Vector3 ( float x, float y, float z ) : System
operator ( ) : Vector3
operator ( ) : bool

Method Details

Cross() public static method

public static Cross ( Vector3 left, Vector3 right ) : Vector3
left Vector3
right Vector3
return Vector3

Cross() public static method

public static Cross ( Vector3 left, float v ) : Vector3
left Vector3
v float
return Vector3

Dot() public static method

public static Dot ( Vector3 left, Vector3 right ) : float
left Vector3
right Vector3
return float

Normalized() public method

public Normalized ( ) : Vector3
return Vector3

ToString() public method

public ToString ( ) : string
return string

Vector3() public method

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

operator() public static method

public static operator ( ) : Vector3
return Vector3

operator() public static method

public static operator ( ) : bool
return bool

Property Details

typetag public static property

public static string typetag
return string

x public property

public float x
return float

y public property

public float y
return float

z public property

public float z
return float