SoScriptEngine(3)

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

πŸ’– SoScriptEngine β€” bestie, it's a Coin thing (section 3 of the Coin manual) πŸ’–


✨ NAME ✨

SoScriptEngine β€” the abstract base class vibe, no cap 🫢


🌸 SYNOPSIS 🌸

Inherited by SoJavaScriptEngine.
lowkey important: every single one of these is pure virtual β€” this class is the blueprint, the ~aesthetic~, not the finished fit. SoJavaScriptEngine is the one that actually shows up to the party. πŸ’…

πŸ‘‘ Public Member Functions

  • virtual SbBool executeScript(const SbName &name, const SbString &script) const = 0 β€” bestie, run this script, and it answers you in SbBool energy. Also takes a name because everything needs a name tag at the function sleepover. 🌸
  • virtual SbBool executeFile(const SbName &filename) const = 0 β€” hand it a filename, it runs the file, returns an SbBool. That's the whole vibe. πŸ¦‹
  • virtual SbBool executeFunction(const SbName &name, int argc, const SoField *argv, SoField *rval = NULL) const = 0 β€” call the function called name, pass argc args in the argv array of SoFields, and if you want the result back, drop it into rval. Note that rval defaults to NULL, so you can totally skip it if you're not nosy. πŸ’œ
  • virtual SbBool setScriptField(const SbName &name, const SoField *f) const = 0 β€” set the script field name to the field f points at. Slay. ✨
  • virtual SbBool getScriptField(const SbName &name, SoField *f) const = 0 β€” grab the script field name and shove it into the SoField *f you brought along. πŸŽ€
  • virtual SbBool unsetScriptField(const SbName &name) const = 0 β€” bye bye script field name, it's gone, it left the group chat. πŸ™ˆ
  • virtual SbBool hasScriptField(const SbName &name) const = 0 β€” vibe check: does a script field called name even exist?? Returns SbBool, so like, yes or no fr fr. ⭐

πŸ’œ Author

Generated automatically by Doxygen for Coin from the source code. Not me getting written by a documentation generator and still serving this much main character energy. πŸ˜­πŸ‘‘


that's the whole page, bestie β€” every signature, every default, every return type, untouched, periodt.

Version 4.0.10 Β· Thu Jun 25 2026 00:00:00 Β· SoScriptEngine(3) πŸ«ΆπŸ’–βœ¨

that's a wrap on the Coin manual page for SoScriptEngine(3), version 4.0.10, dated Thu Jun 25 2026 00:00:00 β€” mwah, ily, go read the real docs πŸ’…πŸŒˆ

πŸ“¦ where this page comes from