Tesla Graphics Engine Documentation (January 2012)
SpotLight Constructor (position, direction, innerAngle, outerAngle)
TeslaTesla.GraphicsSpotLightSpotLight(Vector3, Vector3, Single, Single)
Creates a new SpotLight.
Declaration Syntax
C#
public SpotLight(
	Vector3 position,
	Vector3 direction,
	float innerAngle,
	float outerAngle
)
Parameters
position (Vector3)
Position of the light
direction (Vector3)
Direction of the light
innerAngle (Single)
Cone's inner angle
outerAngle (Single)
Cone's outer angle

Assembly: Tesla (Module: Tesla) Version: 0.5.0.0 (0.5.0.0)