Torque 3D - Script Manual: Basic Lighting

TorqueScript

Main   Class List   Namespace List   Online

Basic Lighting
[Lighting]

The script functionality related to the Basic Lghting system. More...

Variables

int $BasicLightManagerStats::activePlugins
 The number of active Basic Lighting SceneObjectLightingPlugin objects this frame.
int $BasicLightManagerStats::elapsedUpdateMs
 The number of milliseconds spent this frame updating Basic Lighting shadows.
float $pref::ProjectedShadow::fadeEndPixelSize
 A size in pixels at which BL shadows are fully faded out. This should be a smaller value than fadeStartPixelSize.
float $pref::ProjectedShadow::fadeStartPixelSize
 A size in pixels at which BL shadows begin to fade out. This should be a larger value than fadeEndPixelSize.
float $BasicLightManager::shadowFilterDistance
 The maximum distance in meters that projected shadows will get soft filtering.
int $BasicLightManagerStats::shadowsUpdated
 The number of Basic Lighting shadows updated this frame.

Detailed Description

The script functionality related to the Basic Lghting system.


Variable Documentation

int $BasicLightManagerStats::activePlugins

The number of active Basic Lighting SceneObjectLightingPlugin objects this frame.

int $BasicLightManagerStats::elapsedUpdateMs

The number of milliseconds spent this frame updating Basic Lighting shadows.

float $pref::ProjectedShadow::fadeEndPixelSize

A size in pixels at which BL shadows are fully faded out. This should be a smaller value than fadeStartPixelSize.

See also:
DecalData
float $pref::ProjectedShadow::fadeStartPixelSize

A size in pixels at which BL shadows begin to fade out. This should be a larger value than fadeEndPixelSize.

See also:
DecalData
float $BasicLightManager::shadowFilterDistance

The maximum distance in meters that projected shadows will get soft filtering.

int $BasicLightManagerStats::shadowsUpdated

The number of Basic Lighting shadows updated this frame.



Copyright © GarageGames, LLC. All Rights Reserved.