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 (40)
causticPhotons, emitPhotons, energy, energyB,
energyG, energyR, exponent,
globIllPhotons, lightAngle, mentalRayControls, miExportMrLight, miLightShader, miPhotonEmitter, objectType, photonIntensity, pointWorld, pointWorldX, pointWorldY, pointWorldZ, shadowMap, smapBias, smapCamera, smapCameraAperture, smapCameraAspect, smapCameraFocal, smapCameraName, smapCameraResolution, smapDetail, smapDetailAccuracy, smapDetailAlpha, smapDetailSamples, smapFilename, smapFrameExt, smapLightName, smapResolution, smapSamples, smapSceneName, smapSoftness, useLightPosition, useShadowMapCamera
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 |
|
|
|
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 |
|
|