Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD

graphics.scripting
Namespace JSI_LightEnv::anonymous_namespace_1

   in JSInterface_LightEnv.cpp

namespace JSI_LightEnv::anonymous_namespace_1


Inner Classes, Typedefs, and Enums
enum JSI_LightEnv::anonymous_namespace_1::anonymous_enum_1
          LightEnv_Info, the private structure that holds data for individual LightEnv objects
struct JSI_LightEnv::anonymous_namespace_1::LightEnv_Info
          Construction and finalization of LightEnvs
 
Field Summary
 JSClass JSI_class
          
 JSFunctionSpec[] JSI_methods
          
 JSPropertySpec[] JSI_props
          
 
Method Summary
 JSBool construct( JSContext* cx, JSObject* UNUSED( obj ), uintN argc, jsval* argv, jsval* rval )
          construct: the LightEnv constructor has been called from JavaScript, so create a new LightEnv object
 void finalize( JSContext* cx, JSObject* obj )
          Accessing properties of a LightEnv object
 JSBool getProperty( JSContext* cx, JSObject* obj, jsval id, jsval* vp )
          
 JSBool getVectorProperty( JSContext* cx, JSI_LightEnv::anonymous_namespace_1::LightEnv_Info* lightenvInfo, CVector3D* vec, jsval* vp )
          
 JSBool setProperty( JSContext* cx, JSObject* obj, jsval id, jsval* vp )
          Registration of LightEnv class with JavaScript
 

Field Detail

JSI_class

public JSClass JSI_class;

JSI_methods

public JSFunctionSpec JSI_methods[];

JSI_props

public JSPropertySpec JSI_props[];


Method Detail

construct

public JSBool construct( JSContext* cx, JSObject* UNUSED( obj ), uintN argc, jsval* argv, jsval* rval );
construct: the LightEnv constructor has been called from JavaScript, so create a new LightEnv object

finalize

public void finalize( JSContext* cx, JSObject* obj );
Accessing properties of a LightEnv object

getProperty

public JSBool getProperty( JSContext* cx, JSObject* obj, jsval id, jsval* vp );

getVectorProperty

public JSBool getVectorProperty( JSContext* cx, JSI_LightEnv::anonymous_namespace_1::LightEnv_Info* lightenvInfo, CVector3D* vec, jsval* vp );

setProperty

public JSBool setProperty( JSContext* cx, JSObject* obj, jsval id, jsval* vp );
Registration of LightEnv class with JavaScript

 Overview   Project   Class   Tree   Deprecated   Index 
0 A.D.
Generated on September 04, 2007 at 18:14
CppDoc v2.4.0
FRAMES    NO FRAMES
SUMMARY:  INNER | FIELD | CONSTR | METHOD