s&
newspaper
About
info
About s&box
newspaper
Latest News
published_with_changes
Changes
map
Roadmap
monitoring
Metrics
games
Games
sports_esports
Browse Games
rocket
Discover Games
business_center
Workshop
sports_esports
Games
landscape
Maps
chair
Models
texture
Materials
apparel
Clothing
construction
More..
forum
Forum
docs
Docs
docs
Documentation
dashboard
Api Reference
school
Tutorials
input
Log in with Steam
chevron_left
Change Language
简体中文
English
Русский
Español
Português-Brasil
Deutsch
日本語
Français
Polski
Türkçe
한국어
Pirate
Italiano
ไทย
繁體中文
Українська
Čeština
Nederlands
Magyar
Dansk
Suomi
Svenska
Norsk
Ελληνικά
Română
Български
Tiếng Việt
Bahasa Indonesia
Español-Latinoamérica
العربية
Api
Classes
SceneLight
chevron_left
Classes
class
SceneLight
search
Constructors
remove_circle
SceneLight
Properties
data_object
ConstantAttenuation
data_object
FogLighting
data_object
FogStrength
data_object
LightColor
data_object
LightCookie
data_object
LinearAttenuation
data_object
QuadraticAttenuation
data_object
Radius
data_object
ShadowBias
data_object
ShadowHardness
data_object
ShadowsEnabled
data_object
ShadowTextureResolution
data_object
Shape
data_object
ShapeSize
SceneLight
Base class for light scene objects for use with a Sandbox.SceneWorld.
class
Sandbox
.
account_tree
extends
SceneObject
Sandbox.Engine
build
Constructors
1
SceneLight
(
sceneWorld
,
position
,
radius
,
color
)
obsolete
data_object
Properties
14
ConstantAttenuation
float
The light attenuation constant term
FogLighting
FogLightingMode
FogStrength
float
LightColor
Color
Color and brightness of the light
LightCookie
Texture
Access the LightCookie - which is a texture that gets drawn over the light
LinearAttenuation
float
The light attenuation linear term
QuadraticAttenuation
float
The light attenuation quadratic term
Radius
float
Radius of the light in units
ShadowBias
float
ShadowHardness
float
ShadowsEnabled
bool
Enable or disable shadow rendering
ShadowTextureResolution
int
Get or set the resolution of the shadow map. If this is zero the engine will decide what it should use.
Shape
LightShape
ShapeSize
Vector2
Inheritance
SceneObject
SceneLight
SceneCubemap
SceneDirectionalLight
ScenePointLight
SceneSpotLight
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.