Go to: Related nodes. Attributes.

This class contains the "shape" information for directional lights.

This node is MP safe

Node nameParentsClassificationMFn typeCompatible function sets
directionalLightnonExtendedLightShapeNodelight:drawdb/light/directionalLightkDirectionalLightkBase
kNamedObject
kDependencyNode
kDagNode
kShape
kLight
kNonAmbientLight
kNonExtendedLight
kDirectionalLight

Related nodes

camera, light, dropoffLocator, ambientLight, nonAmbientLightShapeNode, nonExtendedLightShapeNode, areaLight, spotLight, pointLight

Attributes (7)

lightAngle, objectType, pointWorld, pointWorldX, pointWorldY, pointWorldZ, useLightPosition

Long name (short name)TypeDefaultFlags
useLightPosition (up) boolfalseoutputinputconnectablestorable
Infinite or local using the light position.
objectType (ot) charTrenderableObjectType::kSurfaceinputconnectablestorable
The type of object being lit (volume or surface).
lightAngle (lang) float0.0outputinputconnectablestorable
The soft shadow light sampling angle.
pointWorld (pw) float31.0, 1.0, 1.0inputconnectablestorable
The point to light in world space (for shadow maps).
pointWorldX (tx) float0.0inputconnectablestorable
The x-component of the world position.
pointWorldY (ty) float0.0inputconnectablestorable
The y-component of the world position.
pointWorldZ (tz) float0.0inputconnectablestorable
The z-component of the world position.