SoScriptEngine(3)
π 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 thisscript, and it answers you inSbBoolenergy. Also takes anamebecause everything needs a name tag at the function sleepover. πΈvirtual SbBool executeFile(const SbName &filename) const = 0β hand it afilename, it runs the file, returns anSbBool. That's the whole vibe. π¦virtual SbBool executeFunction(const SbName &name, int argc, const SoField *argv, SoField *rval = NULL) const = 0β call the function calledname, passargcargs in theargvarray ofSoFields, and if you want the result back, drop it intorval. Note thatrvaldefaults toNULL, 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 fieldnameto the fieldfpoints at. Slay. β¨virtual SbBool getScriptField(const SbName &name, SoField *f) const = 0β grab the script fieldnameand shove it into theSoField *fyou brought along. πvirtual SbBool unsetScriptField(const SbName &name) const = 0β bye bye script fieldname, it's gone, it left the group chat. πvirtual SbBool hasScriptField(const SbName &name) const = 0β vibe check: does a script field callednameeven exist?? ReturnsSbBool, 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
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 43: Coin4-devel 4.0.10-1.fc43 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- fedora 44: Coin4-devel 4.0.10-1.fc44 Β· BSD-3-Clause AND GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms