mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 14:01:37 +00:00
101 lines
2.3 KiB
YAML
101 lines
2.3 KiB
YAML
# This file is automatically generated. Please don't edit it manually.
|
|
# To submit a bug report on the content, see
|
|
# https://devforum.roblox.com/c/bug-reports/documentation-issues/72
|
|
|
|
name: Light
|
|
type: class
|
|
memory_category: Instances
|
|
summary: |
|
|
Light is a root class for dynamic lighting related objects.
|
|
description: |
|
|
Light is a root class for dynamic lighting related objects.
|
|
code_samples: []
|
|
inherits:
|
|
- Instance
|
|
descendants:
|
|
- PointLight
|
|
- SpotLight
|
|
- SurfaceLight
|
|
tags:
|
|
- NotCreatable
|
|
deprecation_message: ''
|
|
properties:
|
|
- name: Light.Brightness
|
|
summary: |
|
|
Sets how bright the emitted light is, defaults to 1.
|
|
description: |
|
|
Sets how bright the emitted light is, defaults to 1.
|
|
code_samples: []
|
|
type: float
|
|
tags: []
|
|
deprecation_message: ''
|
|
security:
|
|
read: None
|
|
write: None
|
|
thread_safety: ReadSafe
|
|
category: Appearance
|
|
serialization:
|
|
can_load: true
|
|
can_save: true
|
|
capabilities:
|
|
- Basic
|
|
- name: Light.Color
|
|
summary: |
|
|
The color of the emitted light.
|
|
description: |
|
|
The color of the emitted light.
|
|
code_samples: []
|
|
type: Color3
|
|
tags: []
|
|
deprecation_message: ''
|
|
security:
|
|
read: None
|
|
write: None
|
|
thread_safety: ReadSafe
|
|
category: Appearance
|
|
serialization:
|
|
can_load: true
|
|
can_save: true
|
|
capabilities:
|
|
- Basic
|
|
- name: Light.Enabled
|
|
summary: |
|
|
If set to true, light will be emitted from the source object.
|
|
description: |
|
|
If set to true, light will be emitted from the source object.
|
|
code_samples: []
|
|
type: boolean
|
|
tags: []
|
|
deprecation_message: ''
|
|
security:
|
|
read: None
|
|
write: None
|
|
thread_safety: ReadSafe
|
|
category: Appearance
|
|
serialization:
|
|
can_load: true
|
|
can_save: true
|
|
capabilities:
|
|
- Basic
|
|
- name: Light.Shadows
|
|
summary: |
|
|
If set to true, will project shadows if light is blocked by an obstacle.
|
|
description: |
|
|
If set to true, will project shadows if light is blocked by an obstacle.
|
|
code_samples: []
|
|
type: boolean
|
|
tags: []
|
|
deprecation_message: ''
|
|
security:
|
|
read: None
|
|
write: None
|
|
thread_safety: ReadSafe
|
|
category: Appearance
|
|
serialization:
|
|
can_load: true
|
|
can_save: true
|
|
capabilities:
|
|
- Basic
|
|
methods: []
|
|
events: []
|
|
callbacks: []
|