c# types (Reference (Auto exported))
Types in C# that are open to Lua.
You can use
// c# var v = new Vector3(1, 2, 3);
as
-- lua local v = Vector3.__new(1, 2, 3)
function(x: number, y: number)
Vector2
function(index: number, value: number)
function(newX: number, newY: number)
static function(a: Vector2, b: Vector2, t: number)
Vector2
static function(a: Vector2, b: Vector2, t: number)
Vector2
static function(current: Vector2, target: Vector2, maxDistanceDelta: number)
Vector2
static function(a: Vector2, b: Vector2)
Vector2
function()
function()
string
function()
number
static function(inDirection: Vector2, inNormal: Vector2)
Vector2
static function(inDirection: Vector2)
Vector2
static function(lhs: Vector2, rhs: Vector2)
number
static function(from: Vector2, to: Vector2)
number
static function(from: Vector2, to: Vector2)
number
static function(a: Vector2, b: Vector2)
number
static function(vector: Vector2, maxLength: number)
Vector2
static function(a: Vector2)
number
static function(lhs: Vector2, rhs: Vector2)
Vector2
static function(lhs: Vector2, rhs: Vector2)
Vector2
static function(current: Vector2, target: Vector2, currentVelocity: usertype, smoothTime: number, maxSpeed: number)
Vector2
function
function
Vector2
number
number
Vector2
Vector2
Vector2
Vector2
Vector2
Vector2
Vector2
Vector2
number
number
number
number
function(x: number, y: number, z: number)
Vector3
static function(a: Vector3, b: Vector3, t: number)
Vector3
static function(a: Vector3, b: Vector3, t: number)
Vector3
static function(normal: usertype, tangent: usertype)
static function(current: Vector3, target: Vector3, maxRadiansDelta: number, maxMagnitudeDelta: number)
Vector3
static function(a: Vector3, b: Vector3, t: number)
Vector3
static function(a: Vector3, b: Vector3, t: number)
Vector3
static function(current: Vector3, target: Vector3, maxDistanceDelta: number)
Vector3
static function(current: Vector3, target: Vector3, currentVelocity: usertype, smoothTime: number, maxSpeed: number)
Vector3
function(index: number, value: number)
function(newX: number, newY: number, newZ: number)
static function(a: Vector3, b: Vector3)
Vector3
static function(lhs: Vector3, rhs: Vector3)
Vector3
function()
number
static function(inDirection: Vector3, inNormal: Vector3)
Vector3
static function(value: Vector3)
Vector3
static function(lhs: Vector3, rhs: Vector3)
number
static function(vector: Vector3, onNormal: Vector3)
Vector3
static function(vector: Vector3, planeNormal: Vector3)
Vector3
static function(from: Vector3, to: Vector3)
number
static function(from: Vector3, to: Vector3, axis: Vector3)
number
static function(a: Vector3, b: Vector3)
number
static function(vector: Vector3, maxLength: number)
Vector3
static function(vector: Vector3)
number
static function(vector: Vector3)
number
static function(lhs: Vector3, rhs: Vector3)
Vector3
static function(lhs: Vector3, rhs: Vector3)
Vector3
function()
string
static function(from: Vector3, to: Vector3)
number
static function(excludeThis: Vector3, fromThat: Vector3)
Vector3
Vector3
number
number
Vector3
Vector3
Vector3
Vector3
Vector3
Vector3
Vector3
Vector3
Vector3
Vector3
Vector3
number
number
number
number
number
function(x: number, y: number, z: number, w: number)
Vector4
function(index: number, value: number)
function(newX: number, newY: number, newZ: number, newW: number)
static function(a: Vector4, b: Vector4, t: number)
Vector4
static function(a: Vector4, b: Vector4, t: number)
Vector4
static function(current: Vector4, target: Vector4, maxDistanceDelta: number)
Vector4
static function(a: Vector4, b: Vector4)
Vector4
function()
number
static function(a: Vector4)
Vector4
static function(a: Vector4, b: Vector4)
number
static function(a: Vector4, b: Vector4)
Vector4
static function(a: Vector4, b: Vector4)
number
static function(a: Vector4)
number
static function(lhs: Vector4, rhs: Vector4)
Vector4
static function(lhs: Vector4, rhs: Vector4)
Vector4
function
function
function
function()
string
static function(a: Vector4)
number
Vector4
number
number
Vector4
Vector4
Vector4
Vector4
number
number
number
number
number
function(r: number, g: number, b: number, a: number)
Color
function()
string
function()
number
static function(a: Color, b: Color, t: number)
Color
static function(a: Color, b: Color, t: number)
Color
function
function
function(index: number, value: number)
static function(rgbColor: Color, H: usertype, S: usertype, V: usertype)
static function(H: number, S: number, V: number)
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
Color
number
Color
Color
number
number
number
number
number
function(x: number, y: number, z: number, w: number)
Quaternion
static function(fromDirection: Vector3, toDirection: Vector3)
Quaternion
static function(rotation: Quaternion)
Quaternion
static function(a: Quaternion, b: Quaternion, t: number)
Quaternion
static function(a: Quaternion, b: Quaternion, t: number)
Quaternion
static function(a: Quaternion, b: Quaternion, t: number)
Quaternion
static function(a: Quaternion, b: Quaternion, t: number)
Quaternion
static function(angle: number, axis: Vector3)
Quaternion
static function(forward: Vector3, upwards: Vector3)
Quaternion
function(index: number, value: number)
function(newX: number, newY: number, newZ: number, newW: number)
static function(a: Quaternion, b: Quaternion)
number
function(view: Vector3)
static function(a: Quaternion, b: Quaternion)
number
function(value: Vector3)
static function(x: number, y: number, z: number)
Quaternion
function(angle: usertype, axis: usertype)
function(fromDirection: Vector3, toDirection: Vector3)
static function(from: Quaternion, to: Quaternion, maxDegreesDelta: number)
Quaternion
static function(q: Quaternion)
Quaternion
function()
number
function()
string
static function(x: number, y: number, z: number)
Quaternion
function(x: number, y: number, z: number)
function()
Vector3
static function(x: number, y: number, z: number)
Quaternion
function(axis: usertype, angle: usertype)
function(x: number, y: number, z: number)
static function(rotation: Quaternion)
Vector3
function(axis: Vector3, angle: number)
static function(axis: Vector3, angle: number)
Quaternion
Quaternion
Vector3
Quaternion
number
number
number
number
number
function(column0: Vector4, column1: Vector4, column2: Vector4, column3: Vector4)
Matrix4x4
function()
bool
static function(m: Matrix4x4)
number
static function(pos: Vector3, q: Quaternion, s: Vector3)
Matrix4x4
function(pos: Vector3, q: Quaternion, s: Vector3)
static function(m: Matrix4x4)
Matrix4x4
static function(m: Matrix4x4)
Matrix4x4
static function(left: number, right: number, bottom: number, top: number, zNear: number, zFar: number)
Matrix4x4
static function(fov: number, aspect: number, zNear: number, zFar: number)
Matrix4x4
static function(from: Vector3, to: Vector3, up: Vector3)
Matrix4x4
static function(left: number, right: number, bottom: number, top: number, zNear: number, zFar: number)
Matrix4x4
function(row: number, column: number, value: number)
function()
number
function(index: number)
Vector4
function(index: number)
Vector4
function(index: number, column: Vector4)
function(index: number, row: Vector4)
function(point: Vector3)
Vector3
function(point: Vector3)
Vector3
function(vector: Vector3)
Vector3
function(plane: usertype)
usertype
static function(vector: Vector3)
Matrix4x4
static function(vector: Vector3)
Matrix4x4
static function(q: Quaternion)
Matrix4x4
function()
string
Quaternion
Vector3
bool
number
usertype
Matrix4x4
Matrix4x4
Matrix4x4
Matrix4x4
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
function(ticks: number)
TimeSpan
function(ts: TimeSpan)
TimeSpan
static function(t1: TimeSpan, t2: TimeSpan)
number
function(value: usertype)
number
static function(value: number)
TimeSpan
function()
TimeSpan
function()
number
static function(value: number)
TimeSpan
static function(value: number)
TimeSpan
static function(value: number)
TimeSpan
function()
TimeSpan
static function(value: number)
TimeSpan
function(ts: TimeSpan)
TimeSpan
static function(value: number)
TimeSpan
static function(s: string)
TimeSpan
static function(input: string, format: string, formatProvider: usertype)
TimeSpan
static function(s: string, result: usertype)
bool
static function(input: string, format: string, formatProvider: usertype, result: usertype)
bool
function()
string
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
number
TimeSpan
TimeSpan
TimeSpan