wiki.sine.space | sinespace

Difference between revisions of "Scripting/Reference"

From wiki.sine.space
Jump to: navigation, search
m
m
Line 33: Line 33:
 
* [[Scripting/SFurniture]]
 
* [[Scripting/SFurniture]]
 
* [[Scripting/SGraphicRaycaster]]
 
* [[Scripting/SGraphicRaycaster]]
* [[Scripting/SHingeJoint]] http://space-files.s3.amazonaws.com/docs/client-scripting/class_sine_space_1_1_scripting_1_1_components_1_1_s_hinge_joint.html
+
* [[Scripting/SHingeJoint]] (Doxygen)
 
* [[Scripting/SLight]]
 
* [[Scripting/SLight]]
 
* [[Scripting/SLineRenderer]]
 
* [[Scripting/SLineRenderer]]

Revision as of 02:06, 13 July 2021

Client Scripting Function Reference

This API is shared between both C# and Lua runtimes. In case of Lua, we treat 'Nil' as 'null', but otherwise identical. C# scripts are defined as a class inheriting from SpaceScript. Lua scripts have a pre-prepared global named 'Space' containing an instance of the SScript class.

Most of these API designs have been modelled after the API already used by Unity3D to allow existing developers easier familiarity with space.

Full Class List (Automated Documentation): http://space-files.s3.amazonaws.com/docs/client-scripting/annotated.html

Component Classes


Classes

Data Types


Library Classes



Resources

External Events

Server Scripting Function Reference

Coming soon