|
PointLight(Vector3, Single) Constructor |
Initializes a new instance of the
PointLight class.
Namespace: Ab4d.SharpEngine.LightsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 2.0.8956+4c7684e186ca1be74e7a284fbe739d9a1b843d3c
Syntax public PointLight(
Vector3 position,
float range = 3,402823E+38f
)
Parameters
- position Vector3
- Vector3 that specifies the positions of this light
- 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