 |
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: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
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.
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Lights.PointLight.#ctor(System.Single,System.Single,System.Single,System.Single)"]
See Also