Notes on Return Types

This page refers to functions like:

These functions have auto conversions for some types:

  • System.String
    • Gets converted to a normal lua string
  • System.Int, System.UInt, System.Boolean, System.Single types
    • Gets converted to native lua equivalents
  • via.vec2, via.vec3, via.vec4
  • via.mat4
  • via.quat
  • System.SByte, System.Byte, System.Int16, System.UInt16, System.Int32, System.UInt32, System.Int64, System.UInt64
    • Gets converted to native Lua number
  • System.Double
    • Gets converted to native Lua number (float)