コード例 #1
0
ファイル: EditTSCtrl.cs プロジェクト: lukaspj/T3DSharp
            internal static _RenderSphere RenderSphere()
            {
                if (_RenderSphereFunc == null)
                {
                    _RenderSphereFunc =
                        (_RenderSphere)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnEditTSCtrl_renderSphere"), typeof(_RenderSphere));
                }

                return(_RenderSphereFunc);
            }
コード例 #2
0
            internal static _RenderSphere RenderSphere()
            {
                if (_RenderSphereFunc == null)
                {
                    _RenderSphereFunc =
                        (_RenderSphere)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnEditTSCtrl_renderSphere"), typeof(_RenderSphere));
                }

                return(_RenderSphereFunc);
            }