Copyright © 2003-2024 MultiMedia Soft

LightDirection property

Previous pageReturn to chapter overviewNext page

Type

[Visual Basic]

Public Property LightDirection As Ctl3d.LightDirections

 

[C#]

public Ctl3d.LightDirections LightDirection {get; set;}

 

[C++]

public: __property Ctl3d.LightDirections get_LightDirection ();

public: __property void set_LightDirection (Ctl3d.LightDirections);

 

 

Remarks

The direction from which the light impacts the control.

Supported values are the following:

Mnemonic constant

Value

Meaning

LightDirections.NorthWest

0 (default)

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

3dcm_i000121

LightDirections.North

1

Light coming from North

3dcm_i000122

LightDirections.NorthEast

2

Light coming from North-East

3dcm_i000123

LightDirections.East

3

Light coming from East

3dcm_i000124

LightDirections.SouthEast

4

Light coming from South-East

3dcm_i000125

LightDirections.South

5

Light coming from South

3dcm_i000126

LightDirections.SouthWest

6

Light coming from South-West

3dcm_i000127

LightDirections.West

7

Light coming from West

3dcm_i000128

LightDirections.Above

8

Light coming from above

3dcm_i000129

 

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