Howto:Extend Nasal: Difference between revisions

Jump to navigation Jump to search
m
Line 242: Line 242:


This needs to be specifically implemented for each new "ghost" type.
This needs to be specifically implemented for each new "ghost" type.
For an example how something like this is done in the FlightGear context, you may want to check out $FG_SRC/Scripting/nasal-props.cxx, which wraps the SGPropertyNode class ([[SimGear]]) inside a nasal ghost, so that the C++ class is exposed to Nasal scripts.


= Things to avoid =  
= Things to avoid =  
2,561

edits

Navigation menu