Class MathScript
- Namespace
- SkyrimForge.Papyrus
- Assembly
- SkyrimForge.Game.dll
Functions and comments from Math.psc.
public static class MathScript
- Inheritance
-
MathScript
- Inherited Members
Properties
Dispatcher
The dispatcher that binds this script to a form and calls the functions and properties that have no generated member.
public static PapyrusScriptDispatcher Dispatcher { get; }
Property Value
Methods
Abs(float)
Calculates the absolute value of the passed in value - N for N, and N for (-N)
public static Task<float> Abs(float afValue)
Parameters
afValuefloat
Returns
Acos(float)
Calculates the arccosine of the passed in value, returning degrees
public static Task<float> Acos(float afValue)
Parameters
afValuefloat
Returns
Asin(float)
Calculates the arcsine of the passed in value, returning degrees
public static Task<float> Asin(float afValue)
Parameters
afValuefloat
Returns
Atan(float)
Calculates the arctangent of the passed in value, returning degrees
public static Task<float> Atan(float afValue)
Parameters
afValuefloat
Returns
Ceiling(float)
Calculates the ceiling of the passed in value - the smallest integer greater than or equal to the value
public static Task<int> Ceiling(float afValue)
Parameters
afValuefloat
Returns
Cos(float)
Calculates the cosine of the passed in value (in degrees)
public static Task<float> Cos(float afValue)
Parameters
afValuefloat
Returns
DegreesToRadians(float)
Converts degrees to radians
public static Task<float> DegreesToRadians(float afDegrees)
Parameters
afDegreesfloat
Returns
Floor(float)
Calculates the floor of the passed in value - the largest integer less than or equal to the value
public static Task<int> Floor(float afValue)
Parameters
afValuefloat
Returns
LeftShift(int, int)
public static Task<int> LeftShift(int value, int shiftBy)
Parameters
Returns
Log(float)
public static Task<float> Log(float arg1)
Parameters
arg1float
Returns
LogicalAnd(int, int)
public static Task<int> LogicalAnd(int arg1, int arg2)
Parameters
Returns
LogicalNot(int)
public static Task<int> LogicalNot(int arg1)
Parameters
arg1int
Returns
LogicalOr(int, int)
public static Task<int> LogicalOr(int arg1, int arg2)
Parameters
Returns
LogicalXor(int, int)
public static Task<int> LogicalXor(int arg1, int arg2)
Parameters
Returns
Pow(float, float)
Calculates x raised to the y power
public static Task<float> Pow(float x, float y)
Parameters
Returns
RadiansToDegrees(float)
Converts radians to degrees
public static Task<float> RadiansToDegrees(float afRadians)
Parameters
afRadiansfloat
Returns
RightShift(int, int)
public static Task<int> RightShift(int value, int shiftBy)
Parameters
Returns
Sin(float)
Calculates the sine of the passed in value (in degrees)
public static Task<float> Sin(float afValue)
Parameters
afValuefloat
Returns
Sqrt(float)
Calculate the square root of the passed in value
public static Task<float> Sqrt(float afValue)
Parameters
afValuefloat
Returns
Tan(float)
Calculates the tangent of the passed in value (in degrees)
public static Task<float> Tan(float afValue)
Parameters
afValuefloat