TargetDirectionalLight : Light

TargetDirectionalLight - superclass: light; super-superclass:node - classID: #(4117, 0) 

Constructor

targetDirectionalLight...   

Properties

<TargetDirectionallight>.aspect Float default: 1.0 -- animatable, alias: Aspect_Ratio 

The aspect ratio for the rectangular light beam.

<TargetDirectionallight>.falloff Float default: 45.0 -- animatable 

The angle of a light's falloff. The Falloff value is measured in degrees.

<TargetDirectionallight>.showCone Boolean default: false 

Turns display of the cone on or off.

<TargetDirectionallight>.hotspot Float default: 43.0 -- animatable 

The angle of a light's cone. The Hotspot value is measured in degrees.

<TargetDirectionallight>.overShoot Boolean default: false 

When on, the light casts light in all directions. However, projections and shadows occur only within its falloff cone.

<TargetDirectionallight>.coneShapeInteger default: 1 -- alias: lightShape 

The shape of the falloff and hotspot areas:

1- Circle

2- Rectangle

Note:

In MAXScript, you must explicitly construct a target for those objects that need one.

FOR EXAMPLE:

   c = TargetDirectionallight pos:[x,y,z] target:(targetObject pos:[xt,yt,zt])

Note that the name of the target isn't derived from the name of the object being created. The above example creates a Target Spot ($Direct01) and target ($Target01). If you create the Target Direct in the UI, the target name would be $Direct01.Target.

See additional notes under TargetObject : GeometryClass