W3cubDocs

/Godot 3.0

OmniLight

Inherits: Light < VisualInstance < Spatial < Node < Object

Category: Core

Brief Description

OmniDirectional Light, such as a light bulb or a candle.

Member Variables

Enums

enum ShadowDetail

  • SHADOW_DETAIL_VERTICAL = 0
  • SHADOW_DETAIL_HORIZONTAL = 1

enum ShadowMode

  • SHADOW_DUAL_PARABOLOID = 0
  • SHADOW_CUBE = 1

Description

An OmniDirectional light is a type of Light node that emits lights in all directions. The light is attenuated through the distance and this attenuation can be configured by changing the energy, radius and attenuation parameters of Light.

© 2014–2018 Juan Linietsky, Ariel Manzur, Godot Engine contributors
Licensed under the MIT License.
http://docs.godotengine.org/en/3.0/classes/class_omnilight.html