SoJavaScriptEngine(3)

πŸ“¦
version 4.0.10 Β· 4 versions
, in fedora 43, fedora 44

πŸ’– SoJavaScriptEngine(3) πŸ’–

okay bestie, welcome to the Coin manual, section 3 β€” this is the page for SoJavaScriptEngine, and no cap, it's a whole mood. grab a boba, we're doing this πŸ§‹βœ¨


✨ NAME ✨

SoJavaScriptEngine β€” literally the class where the docs just… haven't happened yet. The SoJavaScriptEngine class is yet to be documented. πŸ’€


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <Inventor/misc/SoJavaScriptEngine.h>

Inherits SoScriptEngine. yes she's a nepo baby, and she ate πŸ’…

🌸 Public Member Functions 🌸

  • virtual SbBool executeScript (const SbName &name, const SbString &script) const
  • virtual SbBool executeFile (const SbName &filename) const
  • virtual SbBool executeFunction (const SbName &name, int argc, const SoField *argv, SoField *rval=NULL) const
  • virtual SbBool setScriptField (const SbName &name, const SoField *f) const
  • virtual SbBool unsetScriptField (const SbName &name) const
  • virtual SbBool getScriptField (const SbName &name, SoField *f) const
  • virtual SbBool hasScriptField (const SbName &name) const
  • SbBool field2jsval (const SoField *f, jsval *v) const
  • SbBool jsval2field (const jsval v, SoField *f) const
  • void enableAutoNodeUnref (SbBool onoff)
  • SbBool getAutoNodeUnrefState (void) const
  • JSContext * getContext (void) const
  • JSObject * getGlobal (void) const
  • void addHandler (const SoType &type, SoJSWrapperInitFunc *init, SoJSfield2jsvalFunc *field2jsval, SoJSjsval2field2Func *jsval2field)

πŸ‘‘ Static Public Member Functions πŸ‘‘

  • static SoJavaScriptEngine * getEngine (JSContext *cx)
  • static SbBool init (uint32_t maxbytes=4194304)
  • static void shutdown (void)
  • static SbBool debug (void)
  • static JSRuntime * getRuntime (void)

πŸŽ€ Protected Member Functions πŸŽ€

  • void setContext (JSContext *context)
  • void setGlobal (JSObject *global)

πŸ’œ Static Protected Member Functions πŸ’œ

  • static void setRuntime (JSRuntime *runtime)

🌈 Detailed Description 🌈

so. the tea. β˜• The SoJavaScriptEngine class is yet to be documented. that's it, that's the whole description, she's giving mysterious main character energy and honestly? iconic of her. 🫢

Since: Coin 2.0 β€” a certified classic, vintage queen, we love her ⭐


πŸ’… Member Function Documentation πŸ’…

πŸ’– virtual SbBool SoJavaScriptEngine::executeScript (const SbName & name, const SbString & script) const [virtual]

Implements SoScriptEngine. periodt, that's the whole note πŸŽ€

πŸ’– virtual SbBool SoJavaScriptEngine::executeFile (const SbName & filename) const [virtual]

Implements SoScriptEngine. slay ✨

πŸ’– virtual SbBool SoJavaScriptEngine::executeFunction (const SbName & name, int argc, const SoField * argv, SoField * rval = NULL) const [virtual]

Implements SoScriptEngine. yes and she brought the default argument too, rval = NULL, thoughtful bestie behavior πŸ’œ

πŸ’– virtual SbBool SoJavaScriptEngine::setScriptField (const SbName & name, const SoField * f) const [virtual]

Implements SoScriptEngine. no notes, she's perfect 🌸

πŸ’– virtual SbBool SoJavaScriptEngine::unsetScriptField (const SbName & name) const [virtual]

Implements SoScriptEngine. the un-setter, the deleter, the girlboss πŸ”₯

πŸ’– virtual SbBool SoJavaScriptEngine::getScriptField (const SbName & name, SoField * f) const [virtual]

Implements SoScriptEngine. get into it πŸ¦‹

πŸ’– virtual SbBool SoJavaScriptEngine::hasScriptField (const SbName & name) const [virtual]

Implements SoScriptEngine. she's asking "do you have it?" and honestly same πŸ™ˆ


🫢 Author 🫢

Generated automatically by Doxygen for Coin from the source code. not a human author, a robot did this, and the robot ate πŸ’€βœ¨


okay that's the page!! version 4.0.10, dated Thu Jun 25 2026 00:00:00, that's the whole vibe, stay hydrated, bye bestie πŸ’–πŸŒΈπŸŽ€πŸ¦‹πŸ’…πŸ‘‘πŸŒˆβ­

πŸ“¦ where this page comes from