Go to: Related nodes. Attributes.
This class contains the "shape" information for all lights.
This node is abstract
Node name |
Parents |
Classification |
MFn type |
Compatible function sets |
light |
shape |
rendernode |
|
|
Related nodes
camera, dropoffLocator, ambientLight, nonAmbientLightShapeNode,
nonExtendedLightShapeNode,
areaLight, directionalLight, spotLight, pointLight
Attributes (51)
The following quick index only shows top-level attributes
(too many attributes to show them all): centerOfIllumination, color (3), infoBits,
intensity, lightData (14), locatorScale, matrixEyeToWorld, matrixWorldToEye, objectId, opticalFXvisibility (3), pointCamera (3), primitiveId, rayDepth, rayDepthLimit, raySampler, renderState, shadowColor (3), shadowRays, useRayTraceShadows, uvCoord (2), uvFilterSize (2)
Long name (short name) |
Type |
Default |
Flags |
|
color
(cl ) |
float3 |
1.0, 1.0, 1.0 |
    |
|
|
|
|
intensity
(in ) |
float |
1.0 |
     |
|
useRayTraceShadows
(urs ) |
bool |
false |
     |
|
shadowColor
(sc ) |
float3 |
0.0, 0.0, 0.0 |
    |
|
shadColorR
(scr ) |
float |
0.0 |
     |
|
|
shadColorG
(scg ) |
float |
0.0 |
     |
|
|
shadColorB
(scb ) |
float |
0.0 |
     |
|
|
shadowRays
(shr ) |
short |
1 |
    |
|
rayDepthLimit
(rdl ) |
short |
1 |
    |
|
centerOfIllumination
(col ) |
double |
5.0 |
    |
|
pointCamera
(p ) |
float3 |
1.0, 1.0, 1.0 |
   |
|
pointCameraX
(px ) |
float |
0.0 |
   |
|
|
pointCameraY
(py ) |
float |
0.0 |
   |
|
|
pointCameraZ
(pz ) |
float |
0.0 |
   |
|
|
matrixWorldToEye
(wte ) |
fltMatrix |
identity |
  |
|
matrixEyeToWorld
(etw ) |
fltMatrix |
identity |
  |
|
objectId
(oi ) |
addr |
0 |
   |
|
primitiveId
(pi ) |
integer |
0 |
   |
|
raySampler
(rts ) |
addr |
0 |
   |
|
rayDepth
(rd ) |
short |
0 |
   |
|
renderState
(rdst ) |
integer |
0 |
   |
|
locatorScale
(lls ) |
double |
1.0 |
    |
|
uvCoord
(uv ) |
float2 |
0.0, 0.0 |
   |
|
|
|
uvFilterSize
(fq ) |
float2 |
0.0, 0.0 |
   |
|
uvFilterSizeX
(fsx ) |
float |
0.0 |
    |
|
|
uvFilterSizeY
(fsy ) |
float |
0.0 |
    |
|
|
infoBits
(ib ) |
integer |
0 |
    |
|
lightData
(ltd ) |
lightData |
NULL |
  |
|
lightDirection
(ld ) |
float3 |
|
  |
|
lightDirectionX
(ldx ) |
float |
0.0 |
  |
|
|
lightDirectionY
(ldy ) |
float |
0.0 |
  |
|
|
lightDirectionZ
(ldz ) |
float |
0.0 |
  |
|
|
|
lightIntensity
(li ) |
float3 |
|
  |
|
lightIntensityR
(lir ) |
float |
0.0 |
  |
|
|
lightIntensityG
(lig ) |
float |
0.0 |
  |
|
|
lightIntensityB
(lib ) |
float |
0.0 |
  |
|
|
|
lightAmbient
(la ) |
bool |
false |
  |
|
|
lightDiffuse
(ldf ) |
bool |
false |
  |
|
|
lightSpecular
(ls ) |
bool |
false |
  |
|
|
lightShadowFraction
(lsf ) |
float |
0.0 |
  |
|
|
preShadowIntensity
(psi ) |
float |
0.0 |
  |
|
|
lightBlindData
(lbl ) |
addr |
NULL |
   |
|
|
opticalFXvisibility
(ov ) |
float3 |
1.0, 1.0, 1.0 |
  |
|
opticalFXvisibilityR
(ovr ) |
float |
0.0 |
  |
|
|
opticalFXvisibilityG
(ovg ) |
float |
0.0 |
  |
|
|
opticalFXvisibilityB
(ovb ) |
float |
0.0 |
  |
|