Example #1
0
            internal static _SetSelectedRoad SetSelectedRoad()
            {
                if (_SetSelectedRoadFunc == null)
                {
                    _SetSelectedRoadFunc =
                        (_SetSelectedRoad)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiRoadEditorCtrl_setSelectedRoad"), typeof(_SetSelectedRoad));
                }

                return(_SetSelectedRoadFunc);
            }
Example #2
0
            internal static _SetSelectedRoad SetSelectedRoad()
            {
                if (_SetSelectedRoadFunc == null)
                {
                    _SetSelectedRoadFunc =
                        (_SetSelectedRoad)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnGuiMeshRoadEditorCtrl_setSelectedRoad"), typeof(_SetSelectedRoad));
                }

                return(_SetSelectedRoadFunc);
            }