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.1.9316+94bbd23b55747f096f056a5602f7dd90558b3673
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