Exemplo n.º 1
0
            internal static _OnFrame OnFrame()
            {
                if (_OnFrameFunc == null)
                {
                    _OnFrameFunc =
                        (_OnFrame)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "cbguiAnimBitmapCtrl_onFrame"), typeof(_OnFrame));
                }

                return(_OnFrameFunc);
            }
Exemplo n.º 2
0
            internal static _OnFrame OnFrame()
            {
                if (_OnFrameFunc == null)
                {
                    _OnFrameFunc =
                        (_OnFrame)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "cbguiAnimBitmapCtrl_onFrame"), typeof(_OnFrame));
                }

                return(_OnFrameFunc);
            }