Navigation: Code Documentation > RSFMXImpact > FMX.RS.Impact.Lights > Classes > TRSCubeLight > Properties
TRSCubeLight.OnColor Property
Specifies the color to use when a light is on. The light is on if checked is true. Use this property to change the on color for the light.
Namespace: FMX.RS.Impact.Lights
Delphi
published property OnColor: TSVGColor read FOnColor write SetOnColor default TSVGColorRec.Red;
Property Value
Type: TSVGColor
•FMX.RS.Impact.Lights.TRSCubeLight.Parts
•FMX.RS.Impact.Lights.TRSCubeLight.OnColor
•FMX.RS.Impact.Lights.TRSCubeLight.Checked
•TRSCubeLight
•FMX.RS.Impact.Lights