Procedure GetLayerAmbientColor returns the color of the ambient light of the referenced layer. RGB values are in the range of 0~65535.
PROCEDURE GetLayerAmbientColor(
layer : HANDLE;
VAR red : LONGINT;
VAR green : LONGINT;
VAR blue : LONGINT);def vs.GetLayerAmbientColor(layer):
return (red, green, blue)| Name | Type | Description |
|---|---|---|
| layer | HANDLE | Handle to layer. |
| red | LONGINT | Returns RGB color component value. |
| green | LONGINT | Returns RGB color component value. |
| blue | LONGINT | Returns RGB color component value. |
Availability: from VectorWorks8.0