Procedure GetLayerAmbientInfo returns the attribute values for the ambient light object of the referenced layer.
PROCEDURE GetLayerAmbientInfo(
layer : HANDLE;
VAR isOn : BOOLEAN;
VAR brightness : INTEGER);def vs.GetLayerAmbientInfo(layer):
return (isOn, brightness)| Name | Type | Description |
|---|---|---|
| layer | HANDLE | Handle to layer. |
| isOn | BOOLEAN | On-off status of ambient light. |
| brightness | INTEGER | Brightness of ambient light. |
brightness is a percentage value
Availability: from VectorWorks8.0