C# Class Scorpio.ScriptNumber

Inheritance: ScriptObject
Exibir arquivo Open project: qingfeng346/Scorpio-CSharp Class Usage Examples

Public Methods

Method Description
Abs ( ) : ScriptNumber
Calc ( CALC c ) : ScriptNumber
Clamp ( ScriptNumber min, ScriptNumber max ) : ScriptNumber
Floor ( ) : ScriptNumber
Negative ( ) : ScriptNumber
Pow ( ScriptNumber value ) : ScriptNumber
Sqrt ( ) : ScriptNumber
ToDouble ( ) : double
ToInt32 ( ) : int
ToLong ( ) : long

Protected Methods

Method Description
ScriptNumber ( Script script ) : System

Method Details

Abs() public method

public Abs ( ) : ScriptNumber
return ScriptNumber

Calc() public method

public Calc ( CALC c ) : ScriptNumber
c CALC
return ScriptNumber

Clamp() public method

public Clamp ( ScriptNumber min, ScriptNumber max ) : ScriptNumber
min ScriptNumber
max ScriptNumber
return ScriptNumber

Floor() public method

public Floor ( ) : ScriptNumber
return ScriptNumber

Negative() public method

public Negative ( ) : ScriptNumber
return ScriptNumber

Pow() public method

public Pow ( ScriptNumber value ) : ScriptNumber
value ScriptNumber
return ScriptNumber

ScriptNumber() protected method

protected ScriptNumber ( Script script ) : System
script Script
return System

Sqrt() public method

public Sqrt ( ) : ScriptNumber
return ScriptNumber

ToDouble() public method

public ToDouble ( ) : double
return double

ToInt32() public method

public ToInt32 ( ) : int
return int

ToLong() public method

public ToLong ( ) : long
return long