Show raw api
{
"functions": [],
"properties": [
{
"name": "dir",
"desc": "Get/Set the light direction vector",
"lua_type": "Vec3",
"source": {
"line": 18,
"path": "../../res/data/script/lib/system/scene3d_light.lua"
}
},
{
"name": "ambient",
"desc": "Get/Set the light ambient color",
"lua_type": "Vec3",
"source": {
"line": 25,
"path": "../../res/data/script/lib/system/scene3d_light.lua"
}
},
{
"name": "intensity",
"desc": "Get/Set the light color intensity",
"lua_type": "Vec3",
"source": {
"line": 32,
"path": "../../res/data/script/lib/system/scene3d_light.lua"
}
}
],
"types": [],
"name": "Scene3DLightRef",
"desc": "A reference to a 3D scene camera instance\n\n```lua\nscene.camera.pos = { 1, 2, 3 }\nscene.camera.fov = 125\n```",
"source": {
"line": 10,
"path": "../../res/data/script/lib/system/scene3d_light.lua"
}
}