Go to:
Related nodes. Attributes.
This class contains the "shape" information for directional lights.
This node is MP safe
Node name | Parents | Classification | MFn type | Compatible function sets |
---|
directionalLight | nonExtendedLightShapeNode | light | kDirectionalLight | kBase kNamedObject kDependencyNode kDagNode kShape kLight kNonAmbientLight kNonExtendedLight kDirectionalLight |
Related nodes
camera, light, dropoffLocator, ambientLight, nonAmbientLightShapeNode, nonExtendedLightShapeNode, areaLight, spotLight, pointLight
Attributes (34)
causticPhotons, emitPhotons, energy, energyB, energyG, energyR, exponent, globIllPhotons, lightAngle, mentalRayControls, miExportMrLight, miLightShader, miPhotonEmitter, objectType, photonIntensity, pointWorld, pointWorldX, pointWorldY, pointWorldZ, shadowMap, smapBias, smapCamera, smapDetail, smapDetailAccuracy, smapDetailAlpha, smapDetailSamples, smapFilename, smapFrameExt, smapLightName, smapResolution, smapSamples, smapSceneName, smapSoftness, useLightPosition
Long name (short name) | Type | Default | Flags |
---|
|
useLightPosition
(up )
| bool | false | |
|
|
objectType
(ot )
| char | TrenderableObjectType::kSurface | |
|
|
lightAngle
(lang )
| float | 0.0 | |
|
|
pointWorld
(pw )
| float3 | 1.0, 1.0, 1.0 | |
|
| pointWorldX
(tx )
| float | 0.0 | | |
|
| pointWorldY
(ty )
| float | 0.0 | | |
|
| pointWorldZ
(tz )
| float | 0.0 | | |
|
|
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 | | |
|
|
| 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 | | |
|