Table of Contents

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

PapyrusScriptDispatcher

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

afValue float

Returns

Task<float>

Acos(float)

Calculates the arccosine of the passed in value, returning degrees

public static Task<float> Acos(float afValue)

Parameters

afValue float

Returns

Task<float>

Asin(float)

Calculates the arcsine of the passed in value, returning degrees

public static Task<float> Asin(float afValue)

Parameters

afValue float

Returns

Task<float>

Atan(float)

Calculates the arctangent of the passed in value, returning degrees

public static Task<float> Atan(float afValue)

Parameters

afValue float

Returns

Task<float>

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

afValue float

Returns

Task<int>

Cos(float)

Calculates the cosine of the passed in value (in degrees)

public static Task<float> Cos(float afValue)

Parameters

afValue float

Returns

Task<float>

DegreesToRadians(float)

Converts degrees to radians

public static Task<float> DegreesToRadians(float afDegrees)

Parameters

afDegrees float

Returns

Task<float>

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

afValue float

Returns

Task<int>

LeftShift(int, int)

public static Task<int> LeftShift(int value, int shiftBy)

Parameters

value int
shiftBy int

Returns

Task<int>

Log(float)

public static Task<float> Log(float arg1)

Parameters

arg1 float

Returns

Task<float>

LogicalAnd(int, int)

public static Task<int> LogicalAnd(int arg1, int arg2)

Parameters

arg1 int
arg2 int

Returns

Task<int>

LogicalNot(int)

public static Task<int> LogicalNot(int arg1)

Parameters

arg1 int

Returns

Task<int>

LogicalOr(int, int)

public static Task<int> LogicalOr(int arg1, int arg2)

Parameters

arg1 int
arg2 int

Returns

Task<int>

LogicalXor(int, int)

public static Task<int> LogicalXor(int arg1, int arg2)

Parameters

arg1 int
arg2 int

Returns

Task<int>

Pow(float, float)

Calculates x raised to the y power

public static Task<float> Pow(float x, float y)

Parameters

x float
y float

Returns

Task<float>

RadiansToDegrees(float)

Converts radians to degrees

public static Task<float> RadiansToDegrees(float afRadians)

Parameters

afRadians float

Returns

Task<float>

RightShift(int, int)

public static Task<int> RightShift(int value, int shiftBy)

Parameters

value int
shiftBy int

Returns

Task<int>

Sin(float)

Calculates the sine of the passed in value (in degrees)

public static Task<float> Sin(float afValue)

Parameters

afValue float

Returns

Task<float>

Sqrt(float)

Calculate the square root of the passed in value

public static Task<float> Sqrt(float afValue)

Parameters

afValue float

Returns

Task<float>

Tan(float)

Calculates the tangent of the passed in value (in degrees)

public static Task<float> Tan(float afValue)

Parameters

afValue float

Returns

Task<float>