Copyright © 1998-2010 MultiMedia Soft

LightDirection property

Previous pageReturn to chapter overviewNext page

Type

long for Visual C++

enumLightDirections for Visual Basic

 

 

Syntax

object.LightDirection   [=enumLightDirections]

 

 

Remarks

The direction from which the light impacts the control.

Supported values are the following:

Mnemonic constant

Value

Meaning

LIGHT_DIR_NW

0 (default)

Light coming from North-West: this is the standard default for the Windows operating system.

3dabm_i0000ed

LIGHT_DIR_NORTH

1

Light coming from North

3dabm_i0000ee

LIGHT_DIR_NE

2

Light coming from North-East

3dabm_i0000ef

LIGHT_DIR_EAST

3

Light coming from East

3dabm_i0000f0

LIGHT_DIR_SE

4

Light coming from South-East

3dabm_i0000f1

LIGHT_DIR_SOUTH

5

Light coming from South

3dabm_i0000f2

LIGHT_DIR_SW

6

Light coming from South-West

3dabm_i0000f3

LIGHT_DIR_WEST

7

Light coming from West

3dabm_i0000f4

LIGHT_DIR_ABOVE

8

Light coming from above

3dabm_i0000f5

For further information about surface lighting, see the How to manage surface lighting section.