First commit, step 4 completed

This commit is contained in:
bepis
2026-10-15 14:27:00 +11:00
commit 9a30efa170
5378 changed files with 1136719 additions and 0 deletions
@@ -0,0 +1,25 @@
local SharedScriptObjectModelLight =
{
Tables =
{
{
Name = "ModelLight",
Type = "Structure",
Fields =
{
{ Name = "omnidirectional", Type = "bool", Nilable = false, Default = false },
{ Name = "point", Type = "vector3", Mixin = "Vector3DMixin", Nilable = false, Documentation = { "If this light is omnidirectional then point refers to a position, otherwise it refers to a direction" } },
{ Name = "ambientIntensity", Type = "number", Nilable = false, Default = 0 },
{ Name = "ambientColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = true },
{ Name = "diffuseIntensity", Type = "number", Nilable = false, Default = 0 },
{ Name = "diffuseColor", Type = "colorRGB", Mixin = "ColorMixin", Nilable = true },
},
},
},
Predicates =
{
},
};
APIDocumentation:AddDocumentationTable(SharedScriptObjectModelLight);