Ejemplo n.º 1
0
            internal static _IsDestroyed IsDestroyed()
            {
                if (_IsDestroyedFunc == null)
                {
                    _IsDestroyedFunc =
                        (_IsDestroyed)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnPhysicsShape_isDestroyed"), typeof(_IsDestroyed));
                }

                return(_IsDestroyedFunc);
            }
Ejemplo n.º 2
0
            internal static _IsDestroyed IsDestroyed()
            {
                if (_IsDestroyedFunc == null)
                {
                    _IsDestroyedFunc =
                        (_IsDestroyed)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnPhysicsShape_isDestroyed"), typeof(_IsDestroyed));
                }

                return(_IsDestroyedFunc);
            }