Ninja Library - Light Structure

NJS_LIGHT, *NJS_LIGHT_PTR

Structure that stores data for one light source

DEFINITION

typedef struct { 
 NJS_MATRIX mtrx; 
 NJS_POINT3 pnt; 
 NJS_VECTOR vctr; 
 Int  stat; 
 Int  reserve; 
 NJS_LIGHT_CAL ltcal; 
 NJS_LIGHT_ATTR attr; 
} NJS_LIGHT, *NJS_LIGHT_PTR; 

MEMBER

 mtrx  Matrix 
 pnt  Light source position vector 
 vctr  Light source direction vector 
 stat  Light source status (ON/OFF) 
 reserve  Reserved 
 ltcal  Library calculation work area 
 attr  Light attribute structure 

DESCRIPTION

Structure that stores data for one light source

NOTE

Do not use library calculation work area Itcal, as use is subject to change without notice.

REFERENCE

njCnkSetSimpleMultiLightSwitch()
njCreateLight()
njDeleteAllLight()
njDeleteLight()
njLightAllOff()
njLightAllOn()
njLightMotion()
njLightOff()
njLightOn()
njMultiLightMatrix()
njRotateLightX()
njRotateLightXYZ()
njRotateLightY()
njRotateLightZ()
njSetLight()
njSetLightAlpha()
njSetLightAngle()
njSetLightColor()
njSetLightDirection()
njSetLightIntensity()
njSetLightLocation()
njSetLightRange()
njSetUserLight()
njTranslateLight()
njTranslateLightV()
njUnitLightMatrix()

NJS_LIGHT, *NJS_LIGHT_PTR
COPYRIGHT © SEGA ENTERPRISES, LTD., 1998,1999