コード例 #1
0
            internal static _SetRoot SetRoot()
            {
                if (_SetRootFunc == null)
                {
                    _SetRootFunc =
                        (_SetRoot)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTerrPreviewCtrl_setRoot"), typeof(_SetRoot));
                }

                return(_SetRootFunc);
            }
コード例 #2
0
            internal static _SetRoot SetRoot()
            {
                if (_SetRootFunc == null)
                {
                    _SetRootFunc =
                        (_SetRoot)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiTerrPreviewCtrl_setRoot"), typeof(_SetRoot));
                }

                return(_SetRootFunc);
            }