 |
SpotLight(Vector3, Vector3, Single) Constructor |
Initializes a new instance of the
SpotLight class.
Namespace: Ab4d.SharpEngine.LightsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
Syntaxpublic 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
Remarks[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Lights.SpotLight.#ctor(System.Numerics.Vector3,System.Numerics.Vector3,System.Single)"]
See Also