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

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

                return(_OnFrameFunc);
            }