Lightクラス
ひとことで言うと
Lightは、ロブロックス(Roblox)のクラスです。くわしい日本語解説は準備中のため、下に公式の説明(英語)を載せています。
公式の説明(英語):Light is a root class for dynamic lighting related objects.
クラスの関係
受け継いでいるクラス:Object → Instance → Light
このクラスを受け継ぐクラス:PointLight、SpotLight、SurfaceLight
プロパティ(4)
| 名前と書き方 | 説明 |
|---|---|
BrightnessLight.Brightness: float | Sets how bright the emitted light is, defaults to 1. |
ColorLight.Color: Color3 | The color of the emitted light. |
EnabledLight.Enabled: boolean | If set to true, light will be emitted from the source object. |
ShadowsLight.Shadows: boolean | If set to true, will project shadows if light is blocked by an obstacle. |
受け継いでいるメンバー
Instance から受け継いでいるもの(46)
Archivable・Capabilities・IsInSandbox・Name・Parent・PredictionMode・Sandboxed・AddTag・ClearAllChildren・Clone・Destroy・FindFirstAncestor・FindFirstAncestorOfClass・FindFirstAncestorWhichIsA・FindFirstChild・FindFirstChildOfClass・FindFirstChildWhichIsA・FindFirstDescendant・GetActor・GetAttribute・GetAttributeChangedSignal・GetAttributes・GetChildren・GetDebugId・GetDescendants・GetFullName・GetStyled・GetStyledPropertyChangedSignal・GetTags・HasTag・IsAncestorOf・IsDescendantOf・IsPropertyModified・QueryDescendants・RemoveTag・ResetPropertyToDefault・SetAttribute・WaitForChild・AncestryChanged・AttributeChanged・ChildAdded・ChildRemoved・DescendantAdded・DescendantRemoving・Destroying・StyledPropertiesChanged
Object から受け継いでいるもの(4)
英語の説明とメンバーの一覧は、Roblox Creator Documentation(Light)をもとにしています(CC BY 4.0)。日本語の解説は、このサイトで独自に書いたものです。