Beispiel #1
0
            internal static _GetTurretEulerRotation GetTurretEulerRotation()
            {
                if (_GetTurretEulerRotationFunc == null)
                {
                    _GetTurretEulerRotationFunc =
                        (_GetTurretEulerRotation)Marshal.GetDelegateForFunctionPointer(
                            NativeLibrary.GetExport(
                                Torque3D.Torque3DLibHandle,
                                "fnTurretShape_getTurretEulerRotation"), typeof(_GetTurretEulerRotation));
                }

                return(_GetTurretEulerRotationFunc);
            }
            internal static _GetTurretEulerRotation GetTurretEulerRotation()
            {
                if (_GetTurretEulerRotationFunc == null)
                {
                    _GetTurretEulerRotationFunc =
                        (_GetTurretEulerRotation)Marshal.GetDelegateForFunctionPointer(
                            Torque3D.DllLoadUtils.GetProcAddress(
                                Torque3D.Torque3DLibHandle,
                                "fnTurretShape_getTurretEulerRotation"), typeof(_GetTurretEulerRotation));
                }

                return(_GetTurretEulerRotationFunc);
            }