public ISceneNode(SceneNode parent, SceneManager mgr, int id) { antigc1 = OnCallbackFloat; antigc2 = OnCallbackInt; antigc3 = OnCallbackIntPtr; antigc4 = OnCallbackVoid; Initialize( CSN_CREATE(parent == null ? mgr.RootSceneNode.Raw : parent.Raw, mgr.Raw, id, antigc4, antigc2, antigc3, antigc1)); }
static extern IntPtr CSN_CREATE(IntPtr parent, IntPtr mgr, int id, CSN_CALLBACK_VOID _void, CSN_CALLBACK_INT _int, CSN_CALLBACK_INTPTR _intptr, CSN_CALLBACK_FLOAT _float);