Example #1
0
            internal static _GetLength GetLength()
            {
                if (_GetLengthFunc == null)
                {
                    _GetLengthFunc =
                        (_GetLength)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnNavPath_getLength"), typeof(_GetLength));
                }

                return(_GetLengthFunc);
            }
Example #2
0
            internal static _GetLength GetLength()
            {
                if (_GetLengthFunc == null)
                {
                    _GetLengthFunc =
                        (_GetLength)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnNavPath_getLength"), typeof(_GetLength));
                }

                return(_GetLengthFunc);
            }