Click or drag to resize
AB4D logo

PointLight(Vector3, Single) Constructor

Initializes a new instance of the PointLight class.

Namespace: Ab3d.DirectX.Lights
Assembly: Ab3d.DXEngine (in Ab3d.DXEngine.dll) Version: 7.1.9105.2048 (1.0.0.0)
Syntax
C#
public PointLight(
	Vector3 position,
	float range
)

Parameters

position  Vector3
Vector3 that specifies the positions of this light
range  Single
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