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