static NewNodePtr create(void) { NewNodePtr fc; #ifdef OSG_HAS_TEMPLATE_RETURNVALUES if(_type.getPrototype() != NullFC) fc = _type.getPrototype()->clone().dcast<NewNodePtr>(); #else if(_type.getPrototype() != NULL) _type.getPrototype()->clone().dcast(fc); #endif return fc; }