This class contains the "shape" information for spot lights.
Long name (short name) |
Type |
Default |
Flags |
|
coneAngle
(ca ) |
angle (double) |
40.0deg |
|
|
penumbraAngle
(pa ) |
angle (double) |
0.0deg |
|
|
dropoff
(dro ) |
double |
0.0 |
|
|
barnDoors
(bd ) |
bool |
false |
|
|
leftBarnDoor
(lbd ) |
angle (double) |
20.0deg |
|
|
rightBarnDoor
(rbd ) |
angle (double) |
20.0deg |
|
|
topBarnDoor
(tbd ) |
angle (double) |
20.0deg |
|
|
bottomBarnDoor
(bbd ) |
angle (double) |
20.0deg |
|
|
useDecayRegions
(udr ) |
bool |
false |
|
|
startDistance1
(sd1 ) |
distance (float) |
1.0cm |
|
|
endDistance1
(ed1 ) |
distance (float) |
2.0cm |
|
|
startDistance2
(sd2 ) |
distance (float) |
3.0cm |
|
|
endDistance2
(ed2 ) |
distance (float) |
6.0cm |
|
|
startDistance3
(sd3 ) |
distance (float) |
8.0cm |
|
|
endDistance3
(ed3 ) |
distance (float) |
10.0cm |
|
|
fogSpread
(fsp ) |
float |
1.0 |
|
|
fogIntensity
(fin ) |
float |
1.0 |
|
|
objectType
(ot ) |
char |
TrenderableObjectType::kSurface |
|
|
pointWorld
(pw ) |
float3 |
1.0, 1.0, 1.0 |
|
|
pointWorldX
(tx ) |
float |
0.0 |
|
|
|
pointWorldY
(ty ) |
float |
0.0 |
|
|
|
pointWorldZ
(tz ) |
float |
0.0 |
|
|
|
farPointWorld
(fw ) |
float3 |
1.0, 1.0, 1.0 |
|
|
farPointWorldX
(fx ) |
float |
0.0 |
|
|
|
farPointWorldY
(fy ) |
float |
0.0 |
|
|
|
farPointWorldZ
(fz ) |
float |
0.0 |
|
|
|
rayDirection
(rad ) |
float3 |
|
|
|
rayDirectionX
(rdx ) |
float |
0.0 |
|
|
|
rayDirectionY
(rdy ) |
float |
0.0 |
|
|
|
rayDirectionZ
(rdz ) |
float |
0.0 |
|
|
|
fogGeometry
(fg ) |
Message |
n/a |
|
|
lightGlow
(lg ) |
Message |
n/a |
|
|
psIllumSamples
(pis ) |
short |
1 |
|
|
mentalRayControls
(mrc ) |
compound |
n/a |
|
|
miExportMrLight
(milt ) |
bool |
false |
|
|
|
miLightShader
(mils ) |
generic typed
data |
NULL |
|
|
|
miPhotonEmitter
(mipe ) |
generic typed
data |
NULL |
|
|
|
emitPhotons
(phot ) |
bool |
false |
|
|
|
energy
(eng ) |
float3 |
|
|
|
energyR
(engr ) |
float |
8000 |
|
|
|
energyG
(engg ) |
float |
8000 |
|
|
|
energyB
(engb ) |
float |
8000 |
|
|
|
|
photonIntensity
(phi ) |
float |
1 |
|
|
|
|
causticPhotons
(cph ) |
integer |
10000 |
|
|
|
globIllPhotons
(gph ) |
integer |
10000 |
|
|
|
shadowMap
(usm ) |
bool |
false |
|
|
|
smapResolution
(smr ) |
integer |
256 |
|
|
|
smapSamples
(smsa ) |
short |
1 |
|
|
|
smapSoftness
(smso ) |
float |
0 |
|
|
|
|
smapCamera
(smc ) |
Message |
n/a |
|
|
|
smapFilename
(smf ) |
string |
NULL |
|
|
|
smapLightName
(smln ) |
bool |
0 |
|
|
|
smapSceneName
(smsn ) |
bool |
0 |
|
|
|
smapFrameExt
(smfe ) |
bool |
0 |
|
|
|
|
smapDetailSamples
(sds ) |
short |
0 |
|
|
|
smapDetailAccuracy
(sdac ) |
float |
0 |
|
|
|
smapDetailAlpha
(sdal ) |
bool |
0 |
|
|
|
useShadowMapCamera
(usmc ) |
bool |
0 |
|
|
|
smapCameraAperture
(smca ) |
float |
1 |
|
|
|
smapCameraResolution
(smcr ) |
float |
1 |
|
|
|
smapCameraAspect
(smcs ) |
float |
1 |
|
|
|
smapCameraName
(smcn ) |
string |
NULL |
|
|
|
smapCameraFocal
(smcf ) |
string |
NULL |
|
|
|
areaLight
(algt ) |
bool |
false |
|
|
|
areaType
(atyp ) |
enum |
0 "Rectangle" |
|
|
|
areaNormal
(ano ) |
float3 |
|
|
|
areaNormalX
(anox ) |
float |
0 |
|
|
|
areaNormalY
(anoy ) |
float |
2 |
|
|
|
areaNormalZ
(anoz ) |
float |
0 |
|
|
|
|
|
areaRadius
(arad ) |
float |
2 |
|
|
|
areaSampling
(asa ) |
short2 |
|
|
|
areaSamplingU
(asau ) |
short |
3 |
|
|
|
areaSamplingV
(asav ) |
short |
3 |
|
|
|
|
areaLowLevel
(alev ) |
short |
0 |
|
|
|
areaLowSampling
(alo ) |
short2 |
|
|
|
areaLowSamplingU
(alou ) |
short |
2 |
|
|
|
areaLowSamplingV
(alov ) |
short |
2 |
|
|
|
|
areaVisible
(avis ) |
bool |
false |
|
|