Drawing3d documented Class Library

OpenGlDevice.OglLight.setSpotCutOff Method

Overrides the SpotCutOff-setmethod and implements the OpenGL-method Gl.glLightfv(Handle, Gl.GL_SPOT_CUTOFF, ref value) Only when the value is greater 0 the Direction is active.

[Visual Basic]
Protected Overrides Sub setSpotCutOff( _
   ByVal value As Double _
)
[C#]
protected override void setSpotCutOff(
   double value
);

Parameters

value
Specifies the half angle of the spot light.

See Also

OglLight Class | Drawing3d.Devices Namespace