示例#1
0
            internal static _RenderLine RenderLine()
            {
                if (_RenderLineFunc == null)
                {
                    _RenderLineFunc =
                        (_RenderLine)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEditTSCtrl_renderLine"), typeof(_RenderLine));
                }

                return(_RenderLineFunc);
            }
示例#2
0
            internal static _RenderLine RenderLine()
            {
                if (_RenderLineFunc == null)
                {
                    _RenderLineFunc =
                        (_RenderLine)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnEditTSCtrl_renderLine"), typeof(_RenderLine));
                }

                return(_RenderLineFunc);
            }