The MEL Companion: Maya Scripting for 3D Artists (Charles River Media Graphics)

L

Labeling in UI, 290, 294-299, 329-330, 358

Layer button controls, 297

Layouts

column layout, 275-276, 277, 376-377

form layout, 287, 305, 331-332, 374, 378

frame layout, 280-282

grass generator UI, 325

grid layout, 277-278

hierarchy, 287-289, 303-304

for Light window tool, 315-316, 318-321

naming, 305-306

nesting, 288

overview, 275

pane layout, 278-279

placement, 302-305

for popup menus , 357-358

row layout, 276-277

scroll layout, 283-284

shelf layout, 284-287

shelf tab layout, 284

tab layout, 279-280

templates, 307-309

Left-hand quote (') in assignment statement, 49

Less than (<) operator, 55

Less than or equal to (<=) operator, 55

Light window UI

adding controls, 316-317

adding layout, 315-316

adding scroll layout, 319-321

adjusting layout, 318-319

creating buttons , 317

creating window, 315

design, 313-314

finding lights in scene, 314-315

finding longest name of light, 318

implementation, 314-321

Lighting and rendering

cubic reflection maps, 232-251

rendertime smoothing, 251-267

Line numbers , 32, 33

Lines, reading files by, 416-417

Local procedures, 125-126

Local variables , 46-47, 64

Log files, 413

Logical and relational operators, 55

Logical operators, 54-56

Loops

optimizing memory usage, 145-146

preventing script from entering, 199

types of, 56-60

Категории