Syntax:
SetPhi(float phi)
Purpose:
Sets the angle, in radians, defining the outer edge of a spotlight's outer cone.
Parameters:
phi - The new angle, in radians.
Returned value(s):
None
Application:
light1.SetPhi(3.1415 / 3.0)
Class Hierarchy
C3DObject
-------C3DLight
Additional Info:
A spotlight emits a cone of light. Only objects within the cone are illuminated. The cone produces light of two degrees of intensity, with a central brightly lit section (the umbra) that acts as a point source, and a surrounding dimly lit section (the penumbra) that merges with the surrounding deep shadow.
The phi angle is the angle of the penumbra. The allowed range of phi is [Theta, o]. The default for theta and phi are o/2 and o respectively.
See Also:
SetTheta
|