Add export option for exporting ClassType wrappers. Functions like a String when assigning/getting a value from the Inspector, but the property itself (in scripts too) is a regular ClassType reference object. Inspector should display an enumerated list of allowed typenames. Should be able to constrain results by an inheritance constraint. Something like...
# provides a list of types deriving "Node", better if the user can filter with a typeahead.
export(ClassType, "Node") var node_type = ClassType.new()
Add export option for exporting ClassType wrappers. Functions like a String when assigning/getting a value from the Inspector, but the property itself (in scripts too) is a regular ClassType reference object. Inspector should display an enumerated list of allowed typenames. Should be able to constrain results by an inheritance constraint. Something like...