Skip to content

PointLight

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

Description

A light that is localized and has attenuation

  • Inherits from: CLight
  • C++ related class: CPointLight
  • Lua usertype name: PointLight

Variables

This usertype has no variables

Constructors

Name Input Output Description
new PointLight

Functions

Name Input Output Description
GetConstant PointLight: instance
number Returns the light constant
GetLinear PointLight: instance
number Returns the light linear
GetQuadratic PointLight: instance
number Returns the light quadratic
SetConstant PointLight: instance
number: constant
Sets the light constant
SetLinear PointLight: instance
number: linear
Sets the light linear
SetQuadratic PointLight: instance
number: quadratic
Sets the light quadratic

Operators

This usertype has no operators

Clone this wiki locally