 |
SpotLight(Vector3, Vector3, Single, Single, Single) Constructor |
Initializes a new instance of the
SpotLight class.
Namespace: Ab4d.SharpEngine.LightsAssembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntaxpublic SpotLight(
Vector3 position,
Vector3 direction,
float innerConeAngle,
float outerConeAngle,
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
- innerConeAngle Single
- inner cone angle in degrees
- outerConeAngle Single
- outer cone angle in degrees
- 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,System.Single,System.Single)"]
See Also