Пример #1
0
            internal static _GetSelection GetSelection()
            {
                if (_GetSelectionFunc == null)
                {
                    _GetSelectionFunc =
                        (_GetSelection)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnVTimeLineControl_getSelection"), typeof(_GetSelection));
                }

                return(_GetSelectionFunc);
            }
Пример #2
0
            internal static _GetSelection GetSelection()
            {
                if (_GetSelectionFunc == null)
                {
                    _GetSelectionFunc =
                        (_GetSelection)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnVTimeLineControl_getSelection"), typeof(_GetSelection));
                }

                return(_GetSelectionFunc);
            }