 |
PointLight(Single, Single, Single, Single) Constructor |
Initializes a new instance of the
PointLight class.
Namespace: Ab4d.SharpEngine.LightsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 4.0.9584+ba1aaa26d4181dd3fa8ed7b6398391d1affa36c8
Syntaxpublic PointLight(
float xPosition,
float yPosition,
float zPosition,
float range = 3,402823E+38f
)
Parameters
- xPosition Single
- x component of the light position
- yPosition Single
- y component of the light position
- zPosition Single
- z component of the light position
- range Single (Optional)
- range of this point light - range does not affect the light brightness but just disables light calculation for all pixels that are farther away.
See Also