Example #1
0
            internal static _GetFreeLook GetFreeLook()
            {
                if (_GetFreeLookFunc == null)
                {
                    _GetFreeLookFunc =
                        (_GetFreeLook)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnAIConnection_getFreeLook"), typeof(_GetFreeLook));
                }

                return(_GetFreeLookFunc);
            }
Example #2
0
            internal static _GetFreeLook GetFreeLook()
            {
                if (_GetFreeLookFunc == null)
                {
                    _GetFreeLookFunc =
                        (_GetFreeLook)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnAIConnection_getFreeLook"), typeof(_GetFreeLook));
                }

                return(_GetFreeLookFunc);
            }