graphics.scripting
Namespace JSI_LightEnv::anonymous_namespace_1
in JSInterface_LightEnv.cpp
- namespace JSI_LightEnv::anonymous_namespace_1
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 |
JSI_class
public JSClass JSI_class;
JSI_methods
public JSFunctionSpec JSI_methods[];
JSI_props
public JSPropertySpec JSI_props[];
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