TargetDirectionalLight : Light



Your Ad Here

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>.coneShape Integer default: 1 -- alias: lightShape

The shape of the falloff and hotspot areas:

1- Circle

2- Rectangle

Notes

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 spot in the UI, the target name would be $Direct01.Target.

See additional notes under TargetObject : GeometryClass

See also

Light Common Properties, Operators, and Methods

Node Common Properties, Operators, and Methods

MAXWrapper Common Properties, Operators, and Methods

Value Common Properties, Operators, and Methods

Return to Autodesk Index

Your Ad Here