SippSpotLightCreate Command

SippSpotLightCreate position point opening color type [shadow]

Create a new spotlight in the scene. Position is the coordinates of the spotlight. Point is a point at which the spotlight is pointing. It is in the middle of the lightcone. Opening is the opening angle of the lightcone. The cone defined will be completely lit, a soft edged lightcone will start to blend out outside this angle. If the number is prefixed with an R, then it is taken as radians, if it is prefixed with D, then it is taken as radians. If not prefix, then degrees is assumed. Color is the color of the emitted light. Type is the type of spotlight to create. Should be either SHARP or SOFT. Shadow is a boolean that indicates if light from the spotlight will be able to cast shadows. Whether shadows actually are cast or not depend on which value set by the SippShadows command. A light handle is returned by the command. The argument is optional, if shadow is omitted, shadows are not enabled for the light.