Initializes a new LightCommandData with explicit parameters.
Syntax
Parameters
- centerPoint
- Center of the ellipse used to represent the light.
- width
- Value that represents the width of the ellipse used to represent the light. This parameter only accepts positive values.
- height
- Value that represents the height of the ellipse used to represent the light. This parameter only accepts positive values.
- angle
- Angle by which to rotate the ellipse that represents the light. This value is given in hundredths of a degree (+/-). This can be a number from 0 to 36,000.
A positive value will rotate the ellipse clockwise, while a negative value will rotate the ellipse counter-clockwise.
- brightness
- Intensity or brightness of the light. This parameter only accepts positive values.
- edge
- Percentage by which to smooth the light border. The valid range is from 0 to 100.
- fillColor
- Specifies the color of the light.
- opacity
- Opacity of the light. This parameter only accepts positive values.
- type
- Flag that determines the light source type.
Example
Requirements
Target Platforms: Microsoft .NET Framework 2.0, Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
See Also