Click or drag to resize
Ab4d.SharpEngine logo

PointLight(Vector3, Single) Constructor

Initializes a new instance of the PointLight class.

Namespace: Ab4d.SharpEngine.Lights
Assembly: Ab4d.SharpEngine (in Ab4d.SharpEngine.dll) Version: 3.2.9386+3a404a3e1ebfa4efd231da7fe6f10dfb23b95dc4
Syntax
C#
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.
Remarks

[Missing <remarks> documentation for "M:Ab4d.SharpEngine.Lights.PointLight.#ctor(System.Numerics.Vector3,System.Single)"]

See Also