Skip to content

SpotLight

Adrien GIVRY edited this page Sep 26, 2020 · 3 revisions

Description

A light that is localized, has attenuation and has a direction

Variables

This usertype has no variables

Constructors

Name Input Output Description
new SpotLight

Functions

Name Input Output Description
GetConstant SpotLight: instance
number Returns the light constant
GetLinear SpotLight: instance
number Returns the light linear
GetQuadratic SpotLight: instance
number Returns the light quadratic
GetCutOff SpotLight: instance
number Returns the light cutoff
GetOuterCutOff SpotLight: instance
number Returns the light outercutoff
SetConstant SpotLight: instance
number: constant
SetLinear SpotLight: instance
number: linear
Sets the light linear
SetQuadratic SpotLight: instance
number: quadratic
Sets the light quadratic
SetCutOff SpotLight: instance
number: cutOff
Sets the light cutoff
SetOuterCutOff SpotLight: instance
number: outerCutfOff
Sets the light outercutoff

Operators

This usertype has no operators

Clone this wiki locally