internal static IntPtr getMode(IntPtr thisPtr, int argc, string[] argv)
            {
                if (_getModeFunc == null)
                {
                    _getModeFunc =
                        (_getMode)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                             "fn_GuiNavEditorCtrl_getMode"), typeof(_getMode));
                }

                return(_getModeFunc(thisPtr, argc, argv));
            }
Beispiel #2
0
            internal static IntPtr getMode(IntPtr thisPtr, int modeId)
            {
                if (_getModeFunc == null)
                {
                    _getModeFunc =
                        (_getMode)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                             "fn_GuiCanvas_getMode"), typeof(_getMode));
                }

                return(_getModeFunc(thisPtr, modeId));
            }
Beispiel #3
0
            internal static CameraMotionMode getMode(IntPtr thisPtr)
            {
                if (_getModeFunc == null)
                {
                    _getModeFunc =
                        (_getMode)Marshal.GetDelegateForFunctionPointer(Torque3D.DllLoadUtils.GetProcAddress(Torque3D.Torque3DLibHandle,
                                                                                                             "fn_Camera_getMode"), typeof(_getMode));
                }

                return(_getModeFunc(thisPtr));
            }