Light Class |
public class Light : ComponentBase, ILight
The Light type exposes the following members.
Name | Description | |
---|---|---|
Color | Gets or sets a Color3 that specifies the color of this light. | |
IsEnabled | Gets or sets a boolean that specifies if this light is enabled (turned on). When setting this value to false, then this will set the Color to Black. Setting the value back to true will restore the color that was used before the light was disabled. | |
Scene | Gets or sets the Scene that this Light belongs to. |
Name | Description | |
---|---|---|
Dispose |
Releases unmanaged and managed resources (when disposing is true).
This method may be called only from the CheckAndDispose(Boolean) method and must not be called manually by the user.
(Overrides ComponentBaseDispose(Boolean)) | |
Finalize |
Destructor
(Overrides ComponentBaseFinalize) | |
NotifyLightPropertiesChanged | NotifyLightPropertiesChanged calls Scene.NotifyChange and sets LightPropertiesChanged dirty flag. |